|
@@ -243,7 +243,7 @@ discard block |
|
|
block discarded – undo |
|
243
|
243
|
define('SELF', pathinfo(__FILE__, PATHINFO_BASENAME)); |
|
244
|
244
|
|
|
245
|
245
|
// Path to the test directory containing all the test files. |
|
246
|
|
- define('TESTPATH', __DIR__.DIRECTORY_SEPARATOR); // Should be the folder this `Bootstrap.php` file is in. |
|
|
246
|
+ define('TESTPATH', __DIR__.DIRECTORY_SEPARATOR); // Should be the folder this `Bootstrap.php` file is in. |
|
247
|
247
|
|
|
248
|
248
|
// Path to the system directory |
|
249
|
249
|
define('BASEPATH', $system_path); |
|
@@ -325,9 +325,9 @@ discard block |
|
|
block discarded – undo |
|
325
|
325
|
define('VIEWPATH', $view_folder.DIRECTORY_SEPARATOR); |
|
326
|
326
|
|
|
327
|
327
|
// Path to the ci-phpunit-test directory |
|
328
|
|
- if (is_file(TESTPATH . '_ci_phpunit_test' . DIRECTORY_SEPARATOR . 'CIPHPUnitTest.php')) |
|
|
328
|
+ if (is_file(TESTPATH.'_ci_phpunit_test'.DIRECTORY_SEPARATOR.'CIPHPUnitTest.php')) |
|
329
|
329
|
{ |
|
330
|
|
- define('CI_PHPUNIT_TESTPATH', TESTPATH . '_ci_phpunit_test' . DIRECTORY_SEPARATOR); |
|
|
330
|
+ define('CI_PHPUNIT_TESTPATH', TESTPATH.'_ci_phpunit_test'.DIRECTORY_SEPARATOR); |
|
331
|
331
|
} |
|
332
|
332
|
else |
|
333
|
333
|
{ |
|
@@ -388,7 +388,7 @@ discard block |
|
|
block discarded – undo |
|
388
|
388
|
* ------------------------------------------------------------------- |
|
389
|
389
|
*/ |
|
390
|
390
|
|
|
391
|
|
-require CI_PHPUNIT_TESTPATH . '/CIPHPUnitTest.php'; |
|
|
391
|
+require CI_PHPUNIT_TESTPATH.'/CIPHPUnitTest.php'; |
|
392
|
392
|
|
|
393
|
393
|
CIPHPUnitTest::init(); |
|
394
|
394
|
// Or you can set directories for autoloading |
Please login to merge, or discard this patch.