Skip to content

Commit d2f8029

Browse files
author
Dmytro Vilchynskyi
committed
MAGETWO-35192: Wrong copyright text on storefront
- fixed tests
1 parent e8cca9f commit d2f8029

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/Customer/Controller/AccountTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ public function testEditAction()
394394

395395
$body = $this->getResponse()->getBody();
396396
$this->assertEquals(200, $this->getResponse()->getHttpResponseCode(), $body);
397-
$this->assertContains('<div class="field name firstname required">', $body);
397+
$this->assertContains('<div class="field field-name-firstname required">', $body);
398398
// Verify the password check box is not checked
399399
$this->assertContains('<input type="checkbox" name="change_password" id="change-password" value="1" ' .
400400
'title="Change Password" class="checkbox"/>', $body);
@@ -411,7 +411,7 @@ public function testChangePasswordEditAction()
411411

412412
$body = $this->getResponse()->getBody();
413413
$this->assertEquals(200, $this->getResponse()->getHttpResponseCode(), $body);
414-
$this->assertContains('<div class="field name firstname required">', $body);
414+
$this->assertContains('<div class="field field-name-firstname required">', $body);
415415
// Verify the password check box is checked
416416
$this->assertContains('<input type="checkbox" name="change_password" id="change-password" value="1" ' .
417417
'title="Change Password" checked="checked" class="checkbox"/>', $body);

0 commit comments

Comments
 (0)