mirror of https://github.com/go-gorm/gorm.git
parent
ac722c16f9
commit
bcf2b385a4
|
@ -64,7 +64,7 @@ func TestAssociationNotNullClear(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := DB.Model(member).Association("Profiles").Clear(); err == nil {
|
if err := DB.Model(member).Association("Profiles").Clear(); err == nil {
|
||||||
t.Fatalf("No error occured during clearind not null association")
|
t.Fatalf("No error occurred during clearind not null association")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue