Skip to content

Commit

Permalink
fix: timestamp in test
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Dec 13, 2023
1 parent 9b18faf commit c1e80b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ func TestHandleEvent(t *testing.T) {
assert.Equal(t, mockInvoices[0].PaymentHash, transaction.PaymentHash)
assert.Equal(t, mockInvoices[0].Amount, transaction.Amount)
assert.Equal(t, mockInvoices[0].FeesPaid, transaction.FeesPaid)
assert.Equal(t, mockInvoices[0].SettledAt, transaction.SettledAt)
assert.Equal(t, mockInvoices[0].SettledAt.Unix(), transaction.SettledAt.Unix())
// get info: without permission
newPayload, err = nip04.Encrypt(nip47GetInfoJson, ss)
assert.NoError(t, err)
Expand Down

0 comments on commit c1e80b5

Please sign in to comment.