Skip to content

Commit 6293495

Browse files
author
Dmytro Aponasenko
committed
MTA-1323: Create MTF Acceptance Functional Test Build Plan
- updated path to get file with rules to test suite
1 parent c9bd727 commit 6293495

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dev/tests/functional/testsuites/Mtf/TestSuite/InjectableTests.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ private function initObjectManager()
9696
$configurationFileName = isset($_ENV['testsuite_rule'])
9797
? $_ENV['testsuite_rule']
9898
: 'basic';
99-
$confFilePath = __DIR__ . '/InjectableTests/' . $configurationFileName . '.xml';
99+
$confFilePath = realpath(
100+
__DIR__ . '/../../../testsuites/' . $_ENV['testsuite_rule_path'] . '/' . $configurationFileName . '.xml'
101+
);
100102
/** @var \Mtf\TestRunner\Configuration $testRunnerConfiguration */
101103
$testRunnerConfiguration = $objectManagerFactory->getObjectManager()->get('\Mtf\TestRunner\Configuration');
102104
$testRunnerConfiguration->load($confFilePath);

0 commit comments

Comments
 (0)