- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestSingleTableHasManyAssociation (0.13 sec)
-
tests/associations_has_many_test.go
t.Errorf("Error happened when clear Pets, got %v", err) } AssertAssociationCount(t, user2, "Pets", 0, "after clear") } func TestSingleTableHasManyAssociation(t *testing.T) { user := *GetUser("hasmany", Config{Team: 2}) if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } CheckUser(t, user, user)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 16K bytes - Viewed (0)