remove Debug()

This commit is contained in:
Jim Lambert 2020-02-14 10:06:06 -05:00
parent 2a7d9648ca
commit c01a2da8e9

View File

@ -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")
} }