remove Debug()
This commit is contained in:
parent
2a7d9648ca
commit
c01a2da8e9
@ -75,7 +75,7 @@ func TestJoinTable(t *testing.T) {
|
|||||||
t.Errorf("Should found one address")
|
t.Errorf("Should found one address")
|
||||||
}
|
}
|
||||||
|
|
||||||
if DB.Debug().Model(person).Association("Addresses").Count() != 1 {
|
if DB.Model(person).Association("Addresses").Count() != 1 {
|
||||||
t.Errorf("Should found one address")
|
t.Errorf("Should found one address")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user