From 58d6d955ed76d42a0e13407616a368406a37deb0 Mon Sep 17 00:00:00 2001 From: Zach Date: Fri, 15 Mar 2024 17:52:49 -0500 Subject: [PATCH] tests now passing after rename --- test/unit/password-reset-email-request-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/password-reset-email-request-test.js b/test/unit/password-reset-email-request-test.js index 245f89ed..56cfe993 100644 --- a/test/unit/password-reset-email-request-test.js +++ b/test/unit/password-reset-email-request-test.js @@ -215,11 +215,11 @@ describe('PasswordResetEmailRequest', () => { const options = { accountManager, username } const request = new PasswordResetEmailRequest(options) - sinon.spy(request, 'renderSuccess') + sinon.spy(request, 'resetLinkMessage') request.loadUser() .catch(() => { - expect(request.renderSuccess).to.have.been.called() + expect(request.resetLinkMessage).to.have.been.called() done() }) })