Skip to content
Permalink
Browse files

Updating simpletest error page to reflect PHPUnit.

  • Loading branch information...
markstory committed Jun 29, 2010
1 parent 1c47702 commit d7ff6cf244317b725ad588d8beca068dcca7f315
@@ -139,7 +139,7 @@ function _checkPHPUnit() {
if (!$found) {
$baseDir = $this->_baseDir;
include CAKE_TESTS_LIB . 'templates/simpletest.php';
include CAKE_TESTS_LIB . 'templates/phpunit.php';
exit();
}
@@ -1,6 +1,6 @@
<?php
/**
* Missing SimpleTest error page.
* Missing PHPUnit error page.
*
* PHP versions 4 and 5
*
@@ -20,13 +20,13 @@
?>
<?php include dirname(__FILE__) . DS . 'header.php'; ?>
<div id="content">
<h2>SimpleTest is not installed</h2>
<p>You must install SimpleTest to use the CakePHP(tm) Test Suite.</p>
<p>SimpleTest can be placed in one of the following directories.</p>
<h2>PHPUnit is not installed!</h2>
<p>You must install PHPUnit to use the CakePHP(tm) Test Suite.</p>
<p>PHPUnit can either be installed with pear, using <code>pear install phpunit</code>. Or the 'PHPUnit' directory from the distribution can be placed in one of your vendors directories.</p>
<ul>
<li><?php echo CAKE; ?>vendors </li>
<li><?php echo APP_DIR . DS; ?>vendors</li>
</ul>
<p><a href="http://simpletest.org/en/download.html" target="_blank">Download SimpleTest</a></p>
<p><a href="http://github.com/sebastianbergmann/phpunit" target="_blank">Download PHPUnit</a></p>
</div>
<?php include dirname(__FILE__) . DS . 'footer.php'; ?>

0 comments on commit d7ff6cf

Please sign in to comment.
You can’t perform that action at this time.