diff options
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'); |