Browse Source

setting constant in phpunit config

1.0
Claudio Zizza 10 years ago committed by Claudio Zizza
parent
commit
aff9d2f32b
  1. 4
      phpunit.xml.dist
  2. 1
      tests/MageTest/Command/BuildIn/VersionCommandTest.php

4
phpunit.xml.dist

@ -15,5 +15,9 @@
<directory suffix=".php">src</directory>
</whitelist>
</filter>
<php>
<const name="MAGALLANES_VERSION" value="2" />
</php>
</phpunit>

1
tests/MageTest/Command/BuildIn/VersionCommandTest.php

@ -13,7 +13,6 @@ class VersionCommandTest extends PHPUnit_Framework_TestCase
{
public function testRun()
{
define('MAGALLANES_VERSION', '1');
$this->workAroundStatic();
$command = new VersionCommand();
$command->run();

Loading…
Cancel
Save