diff --git a/join_table_test.go b/join_table_test.go index 2a0c3e61..47fda43e 100644 --- a/join_table_test.go +++ b/join_table_test.go @@ -75,7 +75,7 @@ func TestJoinTable(t *testing.T) { 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") }