From d7ff6cf244317b725ad588d8beca068dcca7f315 Mon Sep 17 00:00:00 2001 From: mark_story Date: Mon, 28 Jun 2010 22:59:01 -0400 Subject: [PATCH] Updating simpletest error page to reflect PHPUnit. --- cake/tests/lib/cake_test_suite_dispatcher.php | 2 +- .../lib/templates/{simpletest.php => phpunit.php} | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) rename cake/tests/lib/templates/{simpletest.php => phpunit.php} (64%) diff --git a/cake/tests/lib/cake_test_suite_dispatcher.php b/cake/tests/lib/cake_test_suite_dispatcher.php index d7763facf..f0d05d3e0 100644 --- a/cake/tests/lib/cake_test_suite_dispatcher.php +++ b/cake/tests/lib/cake_test_suite_dispatcher.php @@ -139,7 +139,7 @@ class CakeTestSuiteDispatcher { if (!$found) { $baseDir = $this->_baseDir; - include CAKE_TESTS_LIB . 'templates/simpletest.php'; + include CAKE_TESTS_LIB . 'templates/phpunit.php'; exit(); } diff --git a/cake/tests/lib/templates/simpletest.php b/cake/tests/lib/templates/phpunit.php similarity index 64% rename from cake/tests/lib/templates/simpletest.php rename to cake/tests/lib/templates/phpunit.php index 65231599c..53a163750 100644 --- a/cake/tests/lib/templates/simpletest.php +++ b/cake/tests/lib/templates/phpunit.php @@ -1,6 +1,6 @@
-

SimpleTest is not installed

-

You must install SimpleTest to use the CakePHP(tm) Test Suite.

-

SimpleTest can be placed in one of the following directories.

+

PHPUnit is not installed!

+

You must install PHPUnit to use the CakePHP(tm) Test Suite.

+

PHPUnit can either be installed with pear, using pear install phpunit. Or the 'PHPUnit' directory from the distribution can be placed in one of your vendors directories.

-

Download SimpleTest

+

Download PHPUnit

\ No newline at end of file