Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdulWahab3181 committed Jun 27, 2024
1 parent fad8f04 commit d0ee28b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions handlers/tribes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ func TestGenerateBudgetInvoice(t *testing.T) {
t.Run("Should mock a call to relay /invoices with the correct body", func(t *testing.T) {
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {

expectedBody := map[string]interface{}{"amount": float64(1000), "memo": "Budget Invoice"}
expectedBody := map[string]interface{}{"amount": float64(0), "memo": "Budget Invoice"}
var body map[string]interface{}
err := json.NewDecoder(r.Body).Decode(&body)
assert.NoError(t, err)
Expand All @@ -810,7 +810,7 @@ func TestGenerateBudgetInvoice(t *testing.T) {
config.RelayUrl = ts.URL

reqBody := map[string]interface{}{
"amount": userAmount,
"amount": uint(0),
"sender_pubkey": person.OwnerPubKey,
"payment_type": "deposit",
"workspace_uuid": "workspaceuuid",
Expand Down

0 comments on commit d0ee28b

Please sign in to comment.