From aff9d2f32b7307635c4c3ccf56c22215e50d76d7 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 6fbbd61..ded79b6 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();