Skip to content

Commit

Permalink
attempt to fix test part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
danacotoran committed Jul 19, 2024
1 parent 846c471 commit 3f14140
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@ describe("Integration:: change authenticator app", () => {
});

it("should not return change authenticator app page when supportChangeMfa is not true", (done) => {
sandbox.stub(configFuncs, "supportChangeMfa").callsFake(() => {
return false;
});
sandbox.replace(configFuncs, "supportChangeMfa", () => false);

request(app).get(PATH_DATA.CHANGE_AUTHENTICATOR_APP.url).expect(404, done);
});
Expand Down

0 comments on commit 3f14140

Please sign in to comment.