Skip to content

Commit

Permalink
chore: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
shaojunda committed Nov 30, 2020
1 parent 17a0b23 commit 49f9122
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class Api::V1::UdtTransactionsControllerTest < ActionDispatch::IntegrationTest
page = 2
page_size = 10
udt = create(:udt, :with_transactions, published: true)
udt_ckb_transactions = udt.ckb_transactions.order(block_timestamp: :desc).page(page).per(page_size)
udt_ckb_transactions = udt.ckb_transactions.order("block_timestamp desc nulls last, id desc").page(page).per(page_size)

valid_get api_v1_udt_transaction_url(udt.type_hash), params: { page: page }

Expand Down

0 comments on commit 49f9122

Please sign in to comment.