diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2013-09-17 09:45:24 +0200 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2013-09-17 09:45:24 +0200 |
commit | 7dbca97c478e34b2d7a7c47f1bc18ba7d7ce1525 (patch) | |
tree | 381bda2e192ecfae33c83d7f1c972894bc1cf562 /tests/unit/Web/UI/WebControls | |
parent | 4117b88528ba9a7d3fbdf3248aeb8ca0f7c37455 (diff) |
Chnages in phpunit's bootstrap script; should hopefully fix travis
Diffstat (limited to 'tests/unit/Web/UI/WebControls')
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/unit/Web/UI/WebControls/AllTests.php b/tests/unit/Web/UI/WebControls/AllTests.php index f9b188c2..7d0b1632 100644 --- a/tests/unit/Web/UI/WebControls/AllTests.php +++ b/tests/unit/Web/UI/WebControls/AllTests.php @@ -1,5 +1,5 @@ <?php -require_once dirname(__FILE__).'/../../../phpunit.php'; + if(!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'Web_UI_WebControls_AllTests::main'); diff --git a/tests/unit/Web/UI/WebControls/TDropDownListTest.php b/tests/unit/Web/UI/WebControls/TDropDownListTest.php index 98ff1dd2..503466fe 100644 --- a/tests/unit/Web/UI/WebControls/TDropDownListTest.php +++ b/tests/unit/Web/UI/WebControls/TDropDownListTest.php @@ -1,5 +1,5 @@ <?php -require_once dirname(__FILE__).'/../../../phpunit.php'; + Prado::using('System.Web.UI.WebControls.TDropDownList'); diff --git a/tests/unit/Web/UI/WebControls/TLabelTest.php b/tests/unit/Web/UI/WebControls/TLabelTest.php index 214d497c..0e5577d5 100644 --- a/tests/unit/Web/UI/WebControls/TLabelTest.php +++ b/tests/unit/Web/UI/WebControls/TLabelTest.php @@ -1,5 +1,5 @@ <?php -require_once dirname(__FILE__).'/../../../phpunit.php'; + Prado::using('System.Web.UI.WebControls.TLabel'); Prado::using('System.Web.UI.THtmlWriter'); diff --git a/tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php b/tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php index e84b3cf3..894c3899 100644 --- a/tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php +++ b/tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php @@ -1,5 +1,5 @@ <?php -require_once dirname(__FILE__).'/../../../phpunit.php'; + Prado::using('System.Web.UI.WebControls.TRequiredFieldValidator'); diff --git a/tests/unit/Web/UI/WebControls/TXmlTransformTest.php b/tests/unit/Web/UI/WebControls/TXmlTransformTest.php index 9fc6d769..6c6d9456 100644 --- a/tests/unit/Web/UI/WebControls/TXmlTransformTest.php +++ b/tests/unit/Web/UI/WebControls/TXmlTransformTest.php @@ -1,5 +1,5 @@ <?php -require_once dirname(__FILE__).'/../../../phpunit.php'; + Prado::using('System.Web.UI.WebControls.TXmlTransform'); Prado::using('System.Web.UI.THtmlWriter'); |