Skip to content

Commit

Permalink
Change fixtures/data to use azure auth only
Browse files Browse the repository at this point in the history
  • Loading branch information
migingreen committed May 17, 2023
1 parent 10488ef commit c161c21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
12 changes: 3 additions & 9 deletions plugins/fixtures/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ module.exports = {
path: "/fixtures/data",
method: "POST",
options: {
auth: {
strategies: ["q-auth-azure", "q-auth-ld"],
},
auth: "q-auth-azure",
cors: {
credentials: true,
},
Expand All @@ -30,9 +28,7 @@ module.exports = {
method: "PUT",
payload: item,
auth: {
auth: {
strategies: ["q-auth-azure", "q-auth-ld"],
},
strategy: "q-auth-azure",
credentials: request.auth.credentials,
},
});
Expand All @@ -52,9 +48,7 @@ module.exports = {
method: "POST",
payload: item,
auth: {
auth: {
strategies: ["q-auth-azure", "q-auth-ld"],
},
strategy: "q-auth-azure",
credentials: request.auth.credentials,
},
});
Expand Down
2 changes: 1 addition & 1 deletion test/e2e-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ lab.experiment("fixture data plugin", () => {
method: "POST",
url: "/fixtures/data",
auth: {
strategy: "q-auth-ld",
strategy: "q-auth-azure",
credentials: { username: "user", password: "pass" },
},
});
Expand Down

0 comments on commit c161c21

Please sign in to comment.