Skip to content

Commit

Permalink
fix: same event id in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Jan 25, 2024
1 parent 4b8f608 commit b86ff49
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 @@ -368,7 +368,7 @@ func TestHandlePayInvoiceEvent(t *testing.T) {
// check again
err = svc.db.Model(&AppPermission{}).Where("app_id = ?", app.ID).Update("expires_at", nil).Error

reqEvent.ID = "pay_invoice_with_budget_overflow"
reqEvent.ID = "pay_invoice_after_change"
res, err = svc.HandlePayInvoiceEvent(ctx, request, reqEvent, *app, ss)
assert.NoError(t, err)
assert.NotNil(t, res)
Expand Down

0 comments on commit b86ff49

Please sign in to comment.