Use crown flag from service

This commit is contained in:
Ken Tsang
2017-12-11 16:12:07 +00:00
parent 3464336aff
commit 02b67c95e5
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ def test_create_letters_pdf_calls_upload_letters_pdf(mocker, sample_letter_notif
mock_s3.assert_called_with(
reference=sample_letter_notification.reference,
crown=True,
crown=sample_letter_notification.service.crown,
filedata=b'\x00\x01'
)