Skip to content

Commit 78298f3

Browse files
committed
Making the test compatible with PHP 5.2
1 parent 3d6b9bd commit 78298f3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Tests/Selenium2TestCase/Coverage/RemoteCoverageTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ class Tests_Selenium2TestCase_Coverage_RemoteCoverageTest extends PHPUnit_Framew
33
{
44
public function testObtainsCodeCoverageInformationFromAPossiblyRemoteHttpServer()
55
{
6-
76
$coverageScriptUrl = PHPUNIT_TESTSUITE_EXTENSION_SELENIUM_TESTS_URL . '/coverage/dummy.txt';
87
$coverage = new PHPUnit_Extensions_SeleniumCommon_RemoteCoverage(
98
$coverageScriptUrl,
109
'dummyTestId'
1110
);
1211
$content = $coverage->get();
13-
$dummyClassSourceFile = __DIR__ . '/DummyClass.php';
12+
$dummyClassSourceFile = dirname(__FILE__) . '/DummyClass.php';
1413
$expectedCoverage = array(
1514
3 => 1,
1615
6 => 1,

0 commit comments

Comments
 (0)