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 d9ecfe0 commit adddcd5
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 @@ -367,7 +367,7 @@ func TestIs(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=is.true", q.GetUrl(), "the url should match")
}

func TestNotIs(t *testing.T) {
Expand Down

0 comments on commit adddcd5

Please sign in to comment.