Fixed MagicLink tests

no-issue
This commit is contained in:
Fabien O'Carroll 2020-09-18 13:23:17 +01:00
parent 9c093c6beb
commit 9363d4a3b5

View File

@ -57,7 +57,7 @@ describe('MagicLink', function () {
describe('#getDataFromToken', function () {
it('Returns the user data which from the token that was encoded by #sendMagicLink', async function () {
const options = {
tokenProvider: new JWTTokenProvider(secret),
tokenProvider: new MagicLink.JWTTokenProvider(secret),
getSigninURL: sandbox.stub().returns('FAKEURL'),
getText: sandbox.stub().returns('SOMETEXT'),
getHTML: sandbox.stub().returns('SOMEHTML'),