Skip to content

Commit

Permalink
fix: 🐛 flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
karlosmid committed Jan 7, 2025
1 parent ac7e564 commit 5e6ccde
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3500,10 +3500,8 @@ defmodule PlausibleWeb.Api.ExternalStatsController.QueryTest do

%{"results" => results} = json_response(conn, 200)

assert results == [
%{"dimensions" => ["/plausible.io"], "metrics" => [2, 2, 2, 2, 100, 0]},
%{"dimensions" => ["/"], "metrics" => [2, 2, 2, 2, 50, 300]}
]
assert %{"dimensions" => ["/plausible.io"], "metrics" => [2, 2, 2, 2, 100, 0]} in results
assert %{"dimensions" => ["/"], "metrics" => [2, 2, 2, 2, 50, 300]} in results
end
end

Expand Down

0 comments on commit 5e6ccde

Please sign in to comment.