Skip to content

Commit fc543db

Browse files
committed
ACQE-5171: Implement a script to update Integration or WebAPI phpunit.xml file to support tests under vendor directory
1 parent 9ef9a18 commit fc543db

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/tests/utils/update-test-paths.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
'USAGE',
1515
<<<USAGE
1616
Usage:
17-
php -f $scriptName phpunit.xml(.dist)
17+
php -f $scriptName path_to_phpunit.xml(.dist)
1818
USAGE
1919
);
2020

@@ -26,6 +26,7 @@
2626
$testType = getTestType($xmlDom);
2727
// Update testsuite based on magento installation
2828
$xmlDom = updateTestSuite($xmlDom, $testType);
29+
//$xmlDom->save($argv[1]); //Uncomment after review
2930
$xmlDom->save($argv[1] . '.new');
3031
echo "{$testType} " . basename($argv[1]) . " is updated.";
3132

0 commit comments

Comments
 (0)