Skip to content

Commit 389fb06

Browse files
committed
adapted tests to new response content
1 parent 1002374 commit 389fb06

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/ValidationAndPasswordsReset.spec.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -668,8 +668,8 @@ describe('Custom Pages, Email Verification, Password Reset', () => {
668668
followRedirects: false,
669669
}).then(response => {
670670
expect(response.status).toEqual(200);
671-
expect(response.text).toContain('value="exampleUsername"');
672-
expect(response.text).toContain('action="/apps/test/resend_verification_email"');
671+
expect(response.text).toContain('exampleUsername');
672+
expect(response.text).toContain('/apps/test/resend_verification_email');
673673
done();
674674
});
675675
});
@@ -713,8 +713,8 @@ describe('Custom Pages, Email Verification, Password Reset', () => {
713713
followRedirects: false,
714714
}).then(response => {
715715
expect(response.status).toEqual(200);
716-
expect(response.text).toContain('value="exampleUsername"');
717-
expect(response.text).toContain('action="/apps/test/resend_verification_email"');
716+
expect(response.text).toContain('exampleUsername');
717+
expect(response.text).toContain('/apps/test/resend_verification_email');
718718
user.fetch().then(() => {
719719
expect(user.get('emailVerified')).toEqual(false);
720720
done();

0 commit comments

Comments
 (0)