diff options
Diffstat (limited to 'tests/unit/I18N')
-rw-r--r-- | tests/unit/I18N/core/AllTests.php | 2 | ||||
-rw-r--r-- | tests/unit/I18N/core/CultureInfoTest.php | 2 | ||||
-rw-r--r-- | tests/unit/I18N/core/DateFormatTest.php | 2 | ||||
-rw-r--r-- | tests/unit/I18N/core/DateTimeFormatInfoTest.php | 2 | ||||
-rw-r--r-- | tests/unit/I18N/core/NumberFormatInfoTest.php | 2 | ||||
-rw-r--r-- | tests/unit/I18N/core/NumberFormatTest.php | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/tests/unit/I18N/core/AllTests.php b/tests/unit/I18N/core/AllTests.php index 66c8a6f2..43bbdb36 100644 --- a/tests/unit/I18N/core/AllTests.php +++ b/tests/unit/I18N/core/AllTests.php @@ -1,5 +1,5 @@ <?php -require_once dirname(__FILE__).'/../../phpunit.php'; + if(!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'I18N_core_AllTests::main'); diff --git a/tests/unit/I18N/core/CultureInfoTest.php b/tests/unit/I18N/core/CultureInfoTest.php index c043edd7..0a96639f 100644 --- a/tests/unit/I18N/core/CultureInfoTest.php +++ b/tests/unit/I18N/core/CultureInfoTest.php @@ -1,5 +1,5 @@ <?php -require_once dirname(__FILE__).'/../../phpunit.php'; + Prado::using('System.I18N.core.CultureInfo'); diff --git a/tests/unit/I18N/core/DateFormatTest.php b/tests/unit/I18N/core/DateFormatTest.php index da7c6b73..8015bd74 100644 --- a/tests/unit/I18N/core/DateFormatTest.php +++ b/tests/unit/I18N/core/DateFormatTest.php @@ -1,5 +1,5 @@ <?php -require_once dirname(__FILE__).'/../../phpunit.php'; + Prado::using('System.I18N.core.DateFormat'); diff --git a/tests/unit/I18N/core/DateTimeFormatInfoTest.php b/tests/unit/I18N/core/DateTimeFormatInfoTest.php index 789329ce..442a6b85 100644 --- a/tests/unit/I18N/core/DateTimeFormatInfoTest.php +++ b/tests/unit/I18N/core/DateTimeFormatInfoTest.php @@ -1,5 +1,5 @@ <?php -require_once dirname(__FILE__).'/../../phpunit.php'; + Prado::using('System.I18N.core.DateTimeFormatInfo'); diff --git a/tests/unit/I18N/core/NumberFormatInfoTest.php b/tests/unit/I18N/core/NumberFormatInfoTest.php index e01ba43e..d522144f 100644 --- a/tests/unit/I18N/core/NumberFormatInfoTest.php +++ b/tests/unit/I18N/core/NumberFormatInfoTest.php @@ -1,5 +1,5 @@ <?php -require_once dirname(__FILE__).'/../../phpunit.php'; + //NOTE: This page require UTF-8 aware editors Prado::using('System.I18N.core.NumberFormatInfo'); diff --git a/tests/unit/I18N/core/NumberFormatTest.php b/tests/unit/I18N/core/NumberFormatTest.php index 07d0d9ca..6a6f2dd0 100644 --- a/tests/unit/I18N/core/NumberFormatTest.php +++ b/tests/unit/I18N/core/NumberFormatTest.php @@ -1,5 +1,5 @@ <?php -require_once dirname(__FILE__).'/../../phpunit.php'; + //NOTE: This page require UTF-8 aware editors Prado::using('System.I18N.core.NumberFormat'); |