From ee6c3858ac3033aa59f376ff2e1de4a7b630e7f8 Mon Sep 17 00:00:00 2001 From: Claudio Zizza Date: Fri, 2 Jan 2015 16:24:25 +0100 Subject: [PATCH] setting constant in phpunit config --- phpunit.xml.dist | 4 ++++ tests/MageTest/Command/BuildIn/VersionCommandTest.php | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index a5e1c3b..3825b11 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -15,5 +15,9 @@ src + + + + diff --git a/tests/MageTest/Command/BuildIn/VersionCommandTest.php b/tests/MageTest/Command/BuildIn/VersionCommandTest.php index 4b3f1bf..6002d5a 100644 --- a/tests/MageTest/Command/BuildIn/VersionCommandTest.php +++ b/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();