Skip to content

Commit f8aaa10

Browse files
committed
test: proto_vsn for name unit tests
1 parent 016e357 commit f8aaa10

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

test/ae_mdw_web/controllers/name_controller_test.exs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,8 @@ defmodule AeMdwWeb.NameControllerTest do
385385
{DbUtil, [],
386386
[
387387
last_gen!: fn -> 0 end,
388-
first_gen!: fn -> 0 end
388+
first_gen!: fn -> 0 end,
389+
proto_vsn: fn _height -> 1 end,
389390
]}
390391
] do
391392
assert %{"data" => auction_bids, "next" => next} =
@@ -425,7 +426,8 @@ defmodule AeMdwWeb.NameControllerTest do
425426
{DbUtil, [],
426427
[
427428
last_gen!: fn -> 0 end,
428-
first_gen!: fn -> 0 end
429+
first_gen!: fn -> 0 end,
430+
proto_vsn: fn _height -> 1 end,
429431
]}
430432
] do
431433
assert %{"data" => auctions} =
@@ -462,7 +464,8 @@ defmodule AeMdwWeb.NameControllerTest do
462464
{DbUtil, [],
463465
[
464466
last_gen!: fn -> 0 end,
465-
first_gen!: fn -> 0 end
467+
first_gen!: fn -> 0 end,
468+
proto_vsn: fn _height -> 1 end,
466469
]}
467470
] do
468471
assert %{"data" => auctions} =

0 commit comments

Comments
 (0)