Skip to content
Browse files

Fix for https://github.com/sebastianbergmann/phpunit/issues/issue/163

Since the name of the test is being used as the method parameter of the
ReflectionMethod constructor, so it cannot have the default extra data set
information.
  • Loading branch information...
1 parent 107cfd8 commit 9f2d738b8edcb6198d1fd93bf50ca6b708718d62 @elblinkin elblinkin committed Feb 11, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 PHPUnit/Extensions/TicketListener.php
View
4 PHPUnit/Extensions/TicketListener.php
@@ -147,7 +147,7 @@ public function startTest(PHPUnit_Framework_Test $test)
return;
}
- $name = $test->getName();
+ $name = $test->getName(FALSE);
$tickets = PHPUnit_Util_Test::getTickets(get_class($test), $name);
foreach ($tickets as $ticket) {
@@ -187,7 +187,7 @@ public function endTest(PHPUnit_Framework_Test $test, $time)
return;
}
- $name = $test->getName();
+ $name = $test->getName(FALSE);
$tickets = PHPUnit_Util_Test::getTickets(get_class($test), $name);
foreach ($tickets as $ticket) {

0 comments on commit 9f2d738

Please sign in to comment.
Something went wrong with that request. Please try again.