mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-18 02:21:47 -05:00
Fixed MagicLink tests
no-issue
This commit is contained in:
parent
9c093c6beb
commit
9363d4a3b5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue