Skip to content

Commit c820acb

Browse files
committed
MTA-2996: Make extended_acceptance test suite green
- Fixed NPath complexity - Updated mtf version
1 parent c8c0c7d commit c820acb

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

dev/tests/functional/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"magento/mtf": "1.0.0-rc40",
3+
"magento/mtf": "1.0.0-rc41",
44
"php": "~5.5.0|~5.6.0|~7.0.0",
55
"phpunit/phpunit": "4.1.0",
66
"phpunit/phpunit-selenium": ">=1.2"

dev/tests/functional/tests/app/Magento/Install/Test/Constraint/AssertSuccessInstall.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,18 @@ public function processAssert(Install $installPage, InstallConfig $installConfig
6565
$allData['baseUrl'] = (isset($allData['https']) ? $allData['https'] : $allData['baseUrl']);
6666
$allData['admin'] = $allData['baseUrl'] . $allData['admin'] . '/';
6767

68+
$this->checkInstallData($allData, $adminData, $dbData);
69+
}
70+
71+
/**
72+
* Check data on success installation page.
73+
*
74+
* @param array $allData
75+
* @param array $adminData
76+
* @param array $dbData
77+
* @return void
78+
*/
79+
private function checkInstallData(array $allData, array $adminData, array $dbData) {
6880
foreach ($this->adminFieldsList as $field) {
6981
\PHPUnit_Framework_Assert::assertEquals(
7082
$allData[$field['fixture']],

0 commit comments

Comments
 (0)