Typos
This commit is contained in:
@@ -498,7 +498,7 @@ describe('Custom Pages, Email Verification, Password Reset', () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('succeeds sending a password reset username if appName, publicServerURL, and email adapter are prodvided', done => {
|
it('succeeds sending a password reset username if appName, publicServerURL, and email adapter are provided', done => {
|
||||||
const adapter = MockEmailAdapterWithOptions({
|
const adapter = MockEmailAdapterWithOptions({
|
||||||
fromAddress: 'parse@example.com',
|
fromAddress: 'parse@example.com',
|
||||||
apiKey: 'k',
|
apiKey: 'k',
|
||||||
@@ -647,7 +647,7 @@ describe('Custom Pages, Email Verification, Password Reset', () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('redirects you to invalid link if you try to verify email incorrecly', done => {
|
it('redirects you to invalid link if you try to verify email incorrectly', done => {
|
||||||
reconfigureServer({
|
reconfigureServer({
|
||||||
appName: 'emailing app',
|
appName: 'emailing app',
|
||||||
verifyUserEmails: true,
|
verifyUserEmails: true,
|
||||||
@@ -828,7 +828,7 @@ describe('Custom Pages, Email Verification, Password Reset', () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should programatically reset password', done => {
|
it('should programmatically reset password', done => {
|
||||||
const user = new Parse.User();
|
const user = new Parse.User();
|
||||||
const emailAdapter = {
|
const emailAdapter = {
|
||||||
sendVerificationEmail: () => Promise.resolve(),
|
sendVerificationEmail: () => Promise.resolve(),
|
||||||
|
|||||||
Reference in New Issue
Block a user