-
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.
Merge pull request #3933 from open-formulieren/feature/3359-refactor-…
…pre-registration-ref [#3359] Refactor pre registration
- Loading branch information
Showing
31 changed files
with
245 additions
and
503 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
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
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
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 |
---|---|---|
|
@@ -41,7 +41,6 @@ | |
from openforms.utils.tests.html_assert import HTMLAssertMixin | ||
from openforms.variables.constants import FormVariableSources | ||
|
||
from ....service import NoSubmissionReference, extract_submission_reference | ||
from ..constants import AttachmentFormat | ||
from ..models import EmailConfig | ||
from ..plugin import EmailRegistration | ||
|
@@ -471,17 +470,6 @@ def test_register_and_update_paid_product_with_payment_email_recipient(self): | |
# check we used the payment_emails | ||
self.assertEqual(message.to, ["[email protected]", "[email protected]"]) | ||
|
||
def test_no_reference_can_be_extracted(self): | ||
submission = SubmissionFactory.create( | ||
form=self.form, | ||
completed=True, | ||
registration_success=True, | ||
registration_result="irrelevant", | ||
) | ||
|
||
with self.assertRaises(NoSubmissionReference): | ||
extract_submission_reference(submission) | ||
|
||
@override_settings(DEFAULT_FROM_EMAIL="[email protected]") | ||
def test_submission_with_email_backend_export_csv_xlsx(self): | ||
email_form_options = dict( | ||
|
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
Oops, something went wrong.