Skip to content

Commit

Permalink
Fix blocks count test
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelsierant committed Oct 16, 2024
1 parent 5c807f4 commit 4ac75b9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule BuildelWeb.BlockTypeControllerTest do
describe "index" do
test "lists all block_types", %{conn: conn} do
conn = get(conn, ~p"/api/block_types")
assert json_response(conn, 200)["data"] |> Enum.count() == 37
assert json_response(conn, 200)["data"] |> Enum.count() == 38
end

test "lists all block_types filtered by type", %{conn: conn} do
Expand All @@ -20,7 +20,7 @@ defmodule BuildelWeb.BlockTypeControllerTest do
describe "overviews" do
test "lists all block_types overviews", %{conn: conn} do
conn = get(conn, ~p"/api/block_types/overviews")
assert json_response(conn, 200)["data"] |> Enum.count() == 37
assert json_response(conn, 200)["data"] |> Enum.count() == 38
end
end
end

0 comments on commit 4ac75b9

Please sign in to comment.