Fix tests

This commit is contained in:
Nico Schäfer 2024-05-02 10:50:24 +00:00 committed by GitHub
parent 3bef3bad27
commit 3c7cfdd675
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -485,7 +485,7 @@ func TestNestedPreloadWithPointerJoin(t *testing.T) {
}
var find1 Value
err := DB.Table("Values").Joins("Nested").Joins("Nested.Join").Preload("Nested.Join.Preload").First(&find1).Error
err := DB.Table("values").Joins("Nested").Joins("Nested.Join").Preload("Nested.Join.Preload").First(&find1).Error
if err != nil {
t.Errorf("failed to find value, got err: %v", err)
}