From d4c0fbd40c7881c1ea931a8b47bb885550602871 Mon Sep 17 00:00:00 2001 From: dsinghvi Date: Tue, 30 Jan 2024 23:24:24 -0500 Subject: [PATCH] fix test --- test/integration/connected_accounts_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/connected_accounts_test.go b/test/integration/connected_accounts_test.go index 2c905f8..9411fc1 100644 --- a/test/integration/connected_accounts_test.go +++ b/test/integration/connected_accounts_test.go @@ -46,7 +46,7 @@ func TestConnectedAccounts(t *testing.T) { // require.NoError(t, err) // assert.Equal(t, connectedAccountID, emailAccount.ConnectedAccountId) - connectedAccounts, err := seam.ConnectedAccounts.List(ctx) + connectedAccounts, err := seam.ConnectedAccounts.List(ctx, &seamgo.ConnectedAccountsListRequest{}) require.NoError(t, err) assert.Len(t, connectedAccounts, 2) @@ -58,13 +58,13 @@ func TestConnectedAccounts(t *testing.T) { ) require.NoError(t, err) - connectedAccounts, err = seam.ConnectedAccounts.List(ctx) + connectedAccounts, err = seam.ConnectedAccounts.List(ctx, &seamgo.ConnectedAccountsListRequest{}) require.NoError(t, err) assert.Len(t, connectedAccounts, 1) } func getTestConnectedAccount(t *testing.T, seam *seamclient.Client) *seamgo.ConnectedAccount { - connectedAccounts, err := seam.ConnectedAccounts.List(context.Background()) + connectedAccounts, err := seam.ConnectedAccounts.List(context.Background(), &seamgo.ConnectedAccountsListRequest{}) require.NoError(t, err) require.GreaterOrEqual(t, len(connectedAccounts), 1) return connectedAccounts[0]