@ -410,7 +410,7 @@ defmodule BlockScoutWeb.API.V2.TokenControllerTest do
# these tests that tokens paginates by each parameter separately and by any combination of them
# these tests that tokens paginates by each parameter separately and by any combination of them
test " pagination by address " , %{ conn : conn } do
test " pagination by address " , %{ conn : conn } do
tokens =
tokens =
for i <- 0 . . 50 do
for _ i <- 0 . . 50 do
insert ( :token , name : nil )
insert ( :token , name : nil )
end
end
|> Enum . reverse ( )
|> Enum . reverse ( )
@ -452,7 +452,7 @@ defmodule BlockScoutWeb.API.V2.TokenControllerTest do
test " pagination by name and address " , %{ conn : conn } do
test " pagination by name and address " , %{ conn : conn } do
tokens =
tokens =
for i <- 0 . . 50 do
for _ i <- 0 . . 50 do
insert ( :token )
insert ( :token )
end
end
|> Enum . reverse ( )
|> Enum . reverse ( )
@ -462,7 +462,7 @@ defmodule BlockScoutWeb.API.V2.TokenControllerTest do
test " pagination by holders and address " , %{ conn : conn } do
test " pagination by holders and address " , %{ conn : conn } do
tokens =
tokens =
for i <- 0 . . 50 do
for _ i <- 0 . . 50 do
insert ( :token , holder_count : 1 , name : nil )
insert ( :token , holder_count : 1 , name : nil )
end
end
|> Enum . reverse ( )
|> Enum . reverse ( )
@ -472,7 +472,7 @@ defmodule BlockScoutWeb.API.V2.TokenControllerTest do
test " pagination by circulating_market_cap and address " , %{ conn : conn } do
test " pagination by circulating_market_cap and address " , %{ conn : conn } do
tokens =
tokens =
for i <- 0 . . 50 do
for _ i <- 0 . . 50 do
insert ( :token , circulating_market_cap : 1 , name : nil )
insert ( :token , circulating_market_cap : 1 , name : nil )
end
end
|> Enum . reverse ( )
|> Enum . reverse ( )
@ -511,7 +511,7 @@ defmodule BlockScoutWeb.API.V2.TokenControllerTest do
test " pagination by holders, name and address " , %{ conn : conn } do
test " pagination by holders, name and address " , %{ conn : conn } do
tokens =
tokens =
for i <- 0 . . 50 do
for _ i <- 0 . . 50 do
insert ( :token , holder_count : 1 )
insert ( :token , holder_count : 1 )
end
end
|> Enum . reverse ( )
|> Enum . reverse ( )
@ -521,7 +521,7 @@ defmodule BlockScoutWeb.API.V2.TokenControllerTest do
test " pagination by circulating_market_cap, name and address " , %{ conn : conn } do
test " pagination by circulating_market_cap, name and address " , %{ conn : conn } do
tokens =
tokens =
for i <- 0 . . 50 do
for _ i <- 0 . . 50 do
insert ( :token , circulating_market_cap : 1 )
insert ( :token , circulating_market_cap : 1 )
end
end
|> Enum . reverse ( )
|> Enum . reverse ( )
@ -531,7 +531,7 @@ defmodule BlockScoutWeb.API.V2.TokenControllerTest do
test " pagination by circulating_market_cap, holders and address " , %{ conn : conn } do
test " pagination by circulating_market_cap, holders and address " , %{ conn : conn } do
tokens =
tokens =
for i <- 0 . . 50 do
for _ i <- 0 . . 50 do
insert ( :token , circulating_market_cap : 1 , holder_count : 1 , name : nil )
insert ( :token , circulating_market_cap : 1 , holder_count : 1 , name : nil )
end
end
|> Enum . reverse ( )
|> Enum . reverse ( )
@ -551,7 +551,7 @@ defmodule BlockScoutWeb.API.V2.TokenControllerTest do
test " pagination by circulating_market_cap, holders, name and address " , %{ conn : conn } do
test " pagination by circulating_market_cap, holders, name and address " , %{ conn : conn } do
tokens =
tokens =
for i <- 0 . . 50 do
for _ i <- 0 . . 50 do
insert ( :token , holder_count : 1 , circulating_market_cap : 1 )
insert ( :token , holder_count : 1 , circulating_market_cap : 1 )
end
end
|> Enum . reverse ( )
|> Enum . reverse ( )