This commit is contained in:
Emir Beganovic 2019-04-14 11:40:05 +04:00
parent 59594877da
commit b4927348ae
1 changed files with 1 additions and 1 deletions

View File

@ -1677,7 +1677,7 @@ func TestPreloadManyToManyCallbacks(t *testing.T) {
lvl := Level1{ lvl := Level1{
Name: "l1", Name: "l1",
Level2s: []Level2{ Level2s: []Level2{
Level2{Name: "l2-1"}, Level2{Name: "l2-2"}, {Name: "l2-1"}, {Name: "l2-2"},
}, },
} }
DB.Save(&lvl) DB.Save(&lvl)