Skip to content

Commit a889517

Browse files
committed
EQPS-416: magento-semver doesn't work correctly as standalone application
- Added fixes to allow unit tests to run correctly
1 parent b487edf commit a889517

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Unit/Console/Command/CompareSourceCommandApiClassesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
namespace Magento\Tools\SemanticVersionChecker\Test\Unit\Console\Command;
77

8-
use Magento\Tools\SemanticVersionChecker\Test\Unit\Console\Command\CompareSourceCommandTest\AbstractTestCase;
8+
use Magento\SemanticVersionChecker\Test\Unit\Console\Command\CompareSourceCommandTest\AbstractTestCase;
99

1010
/**
1111
* Test semantic version checker CLI command dealing with API classes.

tests/Unit/Console/Command/CompareSourceCommandTest/AbstractTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ abstract class AbstractTestCase extends \PHPUnit\Framework\TestCase
2727
protected function setUp()
2828
{
2929
$this->command = new CompareSourceCommand();
30-
$this->svcLogPath = TESTS_TEMP_DIR . '/svc-' . time() . '.log';
30+
$this->svcLogPath = 'TESTS_TEMP_DIR' . '/svc-' . time() . '.log';
3131
}
3232

3333
protected function tearDown()

0 commit comments

Comments
 (0)