- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestHasOneAssociationWithSelect (0.34 seconds)
-
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
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 12 10:49:45 GMT 2024 - 7.1K bytes - Click Count (0)