summaryrefslogtreecommitdiff
path: root/tests/unit/I18N/core
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2013-09-17 09:45:24 +0200
committerFabio Bas <ctrlaltca@gmail.com>2013-09-17 09:45:24 +0200
commit7dbca97c478e34b2d7a7c47f1bc18ba7d7ce1525 (patch)
tree381bda2e192ecfae33c83d7f1c972894bc1cf562 /tests/unit/I18N/core
parent4117b88528ba9a7d3fbdf3248aeb8ca0f7c37455 (diff)
Chnages in phpunit's bootstrap script; should hopefully fix travis
Diffstat (limited to 'tests/unit/I18N/core')
-rw-r--r--tests/unit/I18N/core/AllTests.php2
-rw-r--r--tests/unit/I18N/core/CultureInfoTest.php2
-rw-r--r--tests/unit/I18N/core/DateFormatTest.php2
-rw-r--r--tests/unit/I18N/core/DateTimeFormatInfoTest.php2
-rw-r--r--tests/unit/I18N/core/NumberFormatInfoTest.php2
-rw-r--r--tests/unit/I18N/core/NumberFormatTest.php2
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');