-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💚 Fix tests after removing password component
Some frontend/e2e tests and other integration tests were still using the component.
- Loading branch information
1 parent
2572add
commit aff67a0
Showing
4 changed files
with
1 addition
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -542,7 +542,6 @@ def test_template_is_rendered_in_submission_language(self): | |
], | ||
submitted_data={ | ||
"email": "[email protected]", | ||
"fubar": "Haveibeenpwned.com123!@#", | ||
"editgrid1": [ | ||
{ | ||
"radio1": "radiov2", | ||
|
@@ -565,14 +564,6 @@ def test_template_is_rendered_in_submission_language(self): | |
"label": "Label with no translation", | ||
"showInEmail": True, | ||
}, | ||
{ | ||
"key": "fubar", | ||
"type": "password", | ||
"label": "Label with no translation", | ||
# XXX cleartext "password" in email, for when you | ||
# run out of room for Post-it™ on your monitor. | ||
"showInEmail": True, | ||
}, | ||
{ | ||
"type": "editgrid", | ||
"key": "editgrid1", | ||
|
@@ -692,7 +683,6 @@ def test_template_is_rendered_in_submission_language(self): | |
self.assertIn("Translated Repeating Group Item label 2", html_message) | ||
self.assertIn("Translated Radio option 1", html_message) | ||
self.assertIn("Translated Select option 2", html_message) | ||
self.assertIn("Haveibeenpwned.com123!@#", html_message) | ||
|
||
|
||
class RaceConditionTests(TransactionTestCase): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters