Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LevelA3s (0.1 sec)

  1. tests/preload_suits_test.go

    	if err := DB.Save(levelA1).Error; err != nil {
    		t.Error(err)
    	}
    
    	want := []*LevelA2{
    		{
    			Value: "bar",
    			LevelA3s: []*LevelA3{
    				{
    					Value:   "qux",
    					LevelA1: levelA1,
    				},
    			},
    		},
    		{
    			Value:    "bar 2",
    			LevelA3s: []*LevelA3{},
    		},
    	}
    	for _, levelA2 := range want {
    		if err := DB.Save(levelA2).Error; err != nil {
    			t.Error(err)
    		}
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 18 05:38:46 UTC 2022
    - 30.3K bytes
    - Viewed (0)
Back to top