Skip to content

Commit 354587a

Browse files
committed
fix test
Signed-off-by: Grant Linville <[email protected]>
1 parent a778693 commit 354587a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gptscript_test.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -1470,7 +1470,9 @@ func TestCredentials(t *testing.T) {
14701470
require.NoError(t, err)
14711471

14721472
// List
1473-
creds, err := g.ListCredentials(context.Background(), []string{"testing"}, false)
1473+
creds, err := g.ListCredentials(context.Background(), ListCredentialsOptions{
1474+
credCtxs: []string{"testing"},
1475+
})
14741476
require.NoError(t, err)
14751477
require.GreaterOrEqual(t, len(creds), 1)
14761478

0 commit comments

Comments
 (0)