Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-nicolas committed Dec 21, 2023
1 parent 7c64d67 commit ea06016
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/payments/cmd/api/internal/api/pools_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,13 @@ func TestCreatePool(t *testing.T) {
},
},
{
name: "no accounts, but should still pass",
name: "no accounts",
req: &service.CreatePoolRequest{
Name: "test",
AccountIDs: []string{},
},
expectedStatusCode: http.StatusBadRequest,
expectedErrorCode: ErrValidation,
},
{
name: "missing name",
Expand Down

0 comments on commit ea06016

Please sign in to comment.