style: empty QueryClauses in association (#5502)
This commit is contained in:
parent
cbecf7b5e7
commit
1ebe2501f2
@ -1,9 +1,10 @@
|
||||
package tests_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"gorm.io/gorm/clause"
|
||||
"gorm.io/gorm/schema"
|
||||
"testing"
|
||||
|
||||
"gorm.io/gorm"
|
||||
. "gorm.io/gorm/utils/tests"
|
||||
@ -313,7 +314,6 @@ func (sd emptyQueryClause) ModifyStatement(stmt *gorm.Statement) {
|
||||
}
|
||||
|
||||
func TestAssociationEmptyQueryClause(t *testing.T) {
|
||||
|
||||
type Organization struct {
|
||||
gorm.Model
|
||||
Name string
|
||||
|
Loading…
x
Reference in New Issue
Block a user