diff options
Diffstat (limited to 'tests/unit/Web/UI/ActiveControls')
-rw-r--r-- | tests/unit/Web/UI/ActiveControls/AllTests.php | 2 | ||||
-rw-r--r-- | tests/unit/Web/UI/ActiveControls/TActiveHiddenFieldTest.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/Web/UI/ActiveControls/AllTests.php b/tests/unit/Web/UI/ActiveControls/AllTests.php index 55c4331d..ef2dfb91 100644 --- a/tests/unit/Web/UI/ActiveControls/AllTests.php +++ b/tests/unit/Web/UI/ActiveControls/AllTests.php @@ -1,5 +1,5 @@ <?php -require_once dirname(__FILE__).'/../../../phpunit.php'; + if(!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'Web_UI_ActiveControls_AllTests::main'); diff --git a/tests/unit/Web/UI/ActiveControls/TActiveHiddenFieldTest.php b/tests/unit/Web/UI/ActiveControls/TActiveHiddenFieldTest.php index f5e9d6fe..58821747 100644 --- a/tests/unit/Web/UI/ActiveControls/TActiveHiddenFieldTest.php +++ b/tests/unit/Web/UI/ActiveControls/TActiveHiddenFieldTest.php @@ -1,5 +1,5 @@ <?php -require_once dirname(__FILE__).'/../../../phpunit.php'; + Prado::using('System.Web.UI.ActiveControls.TActiveHiddenField'); |