Skip to content

Commit

Permalink
fix is and not is test
Browse files Browse the repository at this point in the history
  • Loading branch information
mul14 committed Oct 17, 2024
1 parent c74ac36 commit d9ecfe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/db/where_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,5 +377,5 @@ func TestNotIs(t *testing.T) {
t.Error("Expected where clause not to be nil")
}

assert.Equalf(t, "/rest/v1/articles?select=*&is_featured=is.true", q.GetUrl(), "the url should match")
assert.Equalf(t, "/rest/v1/articles?select=*&is_featured=not.is.true", q.GetUrl(), "the url should match")
}

0 comments on commit d9ecfe0

Please sign in to comment.