Fixed MagicLink tests
no-issue
This commit is contained in:
parent
9c093c6beb
commit
9363d4a3b5
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user