Skip to content

Commit

Permalink
update the test
Browse files Browse the repository at this point in the history
  • Loading branch information
Doga Tuncay authored and Doga Tuncay committed Apr 10, 2024
1 parent 4e10089 commit eef62a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cassandrax/connection_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ defmodule Cassandrax.ConnectionTest do
end

test "defined order by clause with an explicit order" do
queryable = TestSchema |> order_by(desc: :order_id, asc: :field)
assert all(queryable) =~ ~r/ORDER BY "order_id" DESC, "field" ASC/
queryable = TestSchema |> order_by(desc: :order_id, asc: :field, desc: :id)
assert all(queryable) =~ ~r/ORDER BY "order_id" DESC, "field" ASC, "id" DESC/
end

test "defined per partition limit clause" do
Expand Down

0 comments on commit eef62a6

Please sign in to comment.