Permalink
Browse files

Merge branch 'non-public-class-name' of git://github.com/p/phpunit in…

…to 3.5
  • Loading branch information...
2 parents 965d64a + df05f99 commit 91655399f28627f807b0edf7b8ccc02f37e066b2 @sebastianbergmann committed Feb 10, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 PHPUnit/Framework/TestSuite.php
@@ -831,9 +831,9 @@ protected function addTestMethod(ReflectionClass $class, ReflectionMethod $metho
$this->addTest(
self::warning(
sprintf(
- 'Test method "%s" is not public.',
-
- $name
+ 'Test method "%s" in test class "%s" is not public.',
+ $name,
+ $class->getName()
)
)
);

0 comments on commit 9165539

Please sign in to comment.