Skip to content

Commit

Permalink
add assertion to list aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeyson committed Jul 10, 2024
1 parent a5c32e4 commit 454d468
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/collection_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ defmodule CollectionTest do

assert %{"collection_name" => _collection_name, "name" => _alias} =
ExTypesense.get_collection_alias(alias)

assert [%{"collection_name" => _collection_name, "name" => _alias}] =
ExTypesense.list_collection_aliases()
end

test "error: dropping unknown collection" do
Expand Down

0 comments on commit 454d468

Please sign in to comment.