Skip to content

Commit 8c7d579

Browse files
committed
fix test
1 parent 0f7e1fb commit 8c7d579

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

spec/AuthenticationAdapters.spec.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -590,16 +590,17 @@ describe('AuthenticationProviders', function () {
590590
);
591591
});
592592

593-
it('can depreciate', async () => {
593+
it('can deprecate', async () => {
594594
await reconfigureServer();
595595
const Deprecator = require('../lib/Deprecator/Deprecator');
596596
const spy = spyOn(Deprecator, 'logRuntimeDeprecation').and.callFake(() => {});
597597
const provider = getMockMyOauthProvider();
598598
Parse.User._registerAuthenticationProvider(provider);
599599
await Parse.User._logInWith('myoauth');
600600
expect(spy).toHaveBeenCalledWith({
601-
usage: 'auth.myoauth',
602-
solution: 'auth.myoauth.enabled: true',
601+
usage: 'Using the authentication adapter "myoauth" without explicitly enabling it',
602+
solution:
603+
'Enable the authentication adapter by setting the Parse Server option "auth.myoauth.enabled: true".',
603604
});
604605
});
605606
});

0 commit comments

Comments
 (0)