Skip to content

Commit

Permalink
chore: adjust test
Browse files Browse the repository at this point in the history
  • Loading branch information
shaojunda committed Dec 19, 2019
1 parent 838802c commit 301ee15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/controllers/api/v1/addresses_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class AddressesControllerTest < ActionDispatch::IntegrationTest

valid_get api_v1_address_url(address.address_hash)

assert_equal %w(address_hash balance transactions_count lock_script pending_reward_blocks_count dao_deposit interest lock_info is_special live_cells_count).sort, json["data"]["attributes"].keys.sort
assert_equal %w(address_hash balance transactions_count lock_script pending_reward_blocks_count dao_deposit interest lock_info is_special live_cells_count mined_blocks_count).sort, json["data"]["attributes"].keys.sort
end

test "should return NullAddress when address no found by id" do
Expand Down

0 comments on commit 301ee15

Please sign in to comment.