Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
elblinkin committed Feb 11, 2011
1 parent 107cfd8 commit 9f2d738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PHPUnit/Extensions/TicketListener.php
Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 9f2d738

Please sign in to comment.