Skip to content

Commit 7aee76f

Browse files
update scopes prop in tests
1 parent 1f4e3a0 commit 7aee76f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

connection/journey.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ describe("connection", () => {
4242
host: "localhost:8082",
4343
authClientSecret: new AuthClientCredentials({
4444
clientSecret: process.env.OKTA_CLIENT_SECRET,
45-
scope: "some_scope"
45+
scopes: ["some_scope"]
4646
})
4747
})
4848

connection/unit.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ describe("mock server auth tests", () => {
4444
authClientSecret: new AuthUserPasswordCredentials({
4545
username: "user123",
4646
password: "secure_password",
47-
scopes: "custom_scope"
47+
scopes: ["custom_scope"]
4848
})
4949
});
5050

0 commit comments

Comments
 (0)