From 73de68f5f484dc32e3667491d96dff7a78ae8acf Mon Sep 17 00:00:00 2001 From: m Date: Tue, 29 Nov 2011 16:04:50 +0100 Subject: [PATCH] Test suite should display current PHPUnit version. Fixes #2316 --- lib/Cake/TestSuite/templates/header.php | 7 +++++++ lib/Cake/TestSuite/templates/phpunit.php | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/Cake/TestSuite/templates/header.php b/lib/Cake/TestSuite/templates/header.php index 070f085d6..29ba131ce 100644 --- a/lib/Cake/TestSuite/templates/header.php +++ b/lib/Cake/TestSuite/templates/header.php @@ -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; + }
diff --git a/lib/Cake/TestSuite/templates/phpunit.php b/lib/Cake/TestSuite/templates/phpunit.php index 70b6ee098..d74b48e01 100644 --- a/lib/Cake/TestSuite/templates/phpunit.php +++ b/lib/Cake/TestSuite/templates/phpunit.php @@ -28,7 +28,7 @@
  • pear channel-discover pear.phpunit.de
  • pear channel-discover components.ez.no
  • pear channel-discover pear.symfony-project.com
  • -
  • pear install phpunit/PHPUnit-3.5.15
  • +
  • pear install phpunit/PHPUnit-3.6.4
  • For full instructions on how to install PHPUnit, see the PHPUnit installation guide.

    Download PHPUnit