mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Updating simpletest error page to reflect PHPUnit.
This commit is contained in:
parent
1c47702cb9
commit
d7ff6cf244
2 changed files with 6 additions and 6 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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'; ?>
|
Loading…
Add table
Reference in a new issue