Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-babylonlabs committed Jul 26, 2024
1 parent b09720c commit 2b52378
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions tests/assets_checking_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ func TestVerifyUtxosEndpointOrdinalServiceTimeoutFallbackToUnisat(t *testing.T)
"request timeout after"))

mockUnisat := new(mocks.UnisatClientInterface)

mockUnisat.On("FetchInscriptionsUtxosByAddress", mock.Anything, mock.Anything, mock.Anything).
Return(mockUnisatResponse, nil).Once()

Expand Down Expand Up @@ -695,8 +695,6 @@ func TestVerifyUtxosEndpointFallbackToUnisatOnOrdinalServiceWrongOrder(t *testin
mockUnisat := new(mocks.UnisatClientInterface)
mockUnisat.On("FetchInscriptionsUtxosByAddress", mock.Anything, mock.Anything, mock.Anything).
Return(mockUnisatResponse, nil).Once()
mockUnisat.On("FetchInscriptionsUtxosByAddress", mock.Anything, mock.Anything, mock.Anything).
Return(mockUnisatResponse, nil).Once()

mockedClients := &clients.Clients{
Ordinals: mockOrdinal,
Expand Down
2 changes: 2 additions & 0 deletions tests/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,3 +336,5 @@ func buildActiveStakingEvent(t *testing.T, numOfEvenet int) []*client.ActiveStak
}
return activeStakingEvents
}


0 comments on commit 2b52378

Please sign in to comment.