Test suite should display current PHPUnit version.

Fixes #2316
This commit is contained in:
m 2011-11-29 16:04:50 +01:00 committed by mark_story
parent 6d269ce25d
commit 73de68f5f4
2 changed files with 8 additions and 1 deletions

View file

@ -127,12 +127,19 @@
div.code-coverage-results span.result-bad { color: #a00; }
div.code-coverage-results span.result-ok { color: #fa0; }
div.code-coverage-results span.result-good { color: #0a0; }
div#version {
padding-top: 2px;
float: right;
padding-left: 20px;
}
</style>
<link rel="stylesheet" type="text/css" href="<?php echo $baseDir; ?>css/cake.generic.css" />
</head>
<body>
<div id="container">
<div id="header">
<div id="version">PHPUnit: <?php echo class_exists('PHPUnit_Runner_Version') ? PHPUnit_Runner_Version::id() : 'n/a'; ?></div>
<h1>CakePHP: the rapid development php framework</h1>
</div>
<div id="content">

View file

@ -28,7 +28,7 @@
<li><code>pear channel-discover pear.phpunit.de</code></li>
<li><code>pear channel-discover components.ez.no</code></li>
<li><code>pear channel-discover pear.symfony-project.com</code></li>
<li><code>pear install phpunit/PHPUnit-3.5.15</code></li>
<li><code>pear install phpunit/PHPUnit-3.6.4</code></li>
</ul>
<p>For full instructions on how to <a href="http://www.phpunit.de/manual/current/en/installation.html">install PHPUnit, see the PHPUnit installation guide</a>.</p>
<p><a href="http://github.com/sebastianbergmann/phpunit" target="_blank">Download PHPUnit</a></p>