- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestHasOneAssociationWithSelect (0.74 sec)
-
tests/associations_has_one_test.go
t.Errorf("Error happened when clear Account, got %v", err) } AssertAssociationCount(t, user2, "Account", 0, "after clear") } func TestHasOneAssociationWithSelect(t *testing.T) { user := *GetUser("hasone", Config{Account: true}) DB.Omit("Account.Number").Create(&user) AssertAssociationCount(t, user, "Account", 1, "") var account Account
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 7.1K bytes - Viewed (0)