Skip to content

Commit 85c8724

Browse files
committed
MC-23058: Template strict mode is not set for unsaved template previews
1 parent a7145de commit 85c8724

File tree

1 file changed

+2
-2
lines changed
  • dev/tests/integration/testsuite/Magento/Newsletter/Controller/Adminhtml/Template

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/Newsletter/Controller/Adminhtml/Template/DropTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ public function testDefaultTemplateAction()
3030
'form_key' => $formKey->getFormKey(),
3131
'type' => Template::TYPE_HTML,
3232
'preview_store_id' => $storeId,
33-
'text' => 'Template {{var this.template_id}}{{var this.getData(template_id)}} Text'
33+
'text' => 'Template {{var this.template_id}}:{{var this.getData(template_id)}} Text'
3434
];
3535
$this->getRequest()->setPostValue($post);
3636
$this->getRequest()->setMethod(HttpRequest::METHOD_POST);
3737
$this->dispatch('backend/newsletter/template/drop');
3838
$this->assertContains(
39-
'Template 123 Text',
39+
'Template 123: Text',
4040
$this->getResponse()->getBody()
4141
);
4242
}

0 commit comments

Comments
 (0)