Skip to content

Commit

Permalink
for this compilation fix for tests for pgsql
Browse files Browse the repository at this point in the history
  • Loading branch information
NodudeWasTaken committed Oct 15, 2024
1 parent 390059d commit 9cd1e5d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/sqlite/gallery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ func Test_galleryQueryBuilder_Create(t *testing.T) {
}

// Ordering is not ensured
sortGallery(copy)
sortGallery(s)
sortGallery(&copy)
sortGallery(&s)

assert.Equal(copy, s)

Expand Down Expand Up @@ -392,7 +392,7 @@ func Test_galleryQueryBuilder_Update(t *testing.T) {
}

// Ordering is not ensured
sortGallery(copy)
sortGallery(&copy)
sortGallery(s)

assert.Equal(copy, *s)
Expand Down Expand Up @@ -825,9 +825,9 @@ func Test_galleryQueryBuilder_UpdatePartialRelationships(t *testing.T) {
}

// Ordering is not ensured
sortGallery(copy)
sortGallery(s)
sortGallery(got)
sortGallery(&tt.want)

// only compare fields that were in the partial
if tt.partial.PerformerIDs != nil {
Expand Down

0 comments on commit 9cd1e5d

Please sign in to comment.