Skip to content

Commit f1c088b

Browse files
committed
Tweaks based on code review.
1 parent cc1e9f6 commit f1c088b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

PHPUnit/Util/Log/VCR.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time)
122122
public function startTest(PHPUnit_Framework_Test $test)
123123
{
124124
$class = get_class($test);
125-
$method = $test->getName(FALSE);
125+
$method = $test->getName(false);
126126

127127
if (!method_exists($class, $method)) {
128128
return;

tests/PHPUnit/Util/Log/VCRTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ public function testInterceptsWithAnnotationsWhenUsingDataProvider($dummyValue)
3838
public function aDataProvider()
3939
{
4040
return array(
41-
array(null)
41+
array(1),
42+
array(2)
4243
);
4344
}
4445
}

0 commit comments

Comments
 (0)