Skip to content

Commit 6bef178

Browse files
committed
MAGETWO-35333: [GITHUB] Serious security issue in Customer Address edit section #1107
1 parent 959f4be commit 6bef178

File tree

1 file changed

+4
-0
lines changed
  • app/code/Magento/Customer/Test/Unit/Block/Address

1 file changed

+4
-0
lines changed

app/code/Magento/Customer/Test/Unit/Block/Address/EditTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,10 @@ public function testSetLayoutWithOwnAddressAndPostedData()
165165
$this->assertEquals($layoutMock, $this->model->getLayout());
166166
}
167167

168+
/**
169+
* @throws \Magento\Framework\Exception
170+
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
171+
*/
168172
public function testSetLayoutWithAlienAddress()
169173
{
170174
$addressId = 1;

0 commit comments

Comments
 (0)