File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 22
22
*/
23
23
abstract class HttpAdapterTest extends \PHPUnit_Framework_TestCase
24
24
{
25
- /**
26
- * @var string
27
- */
28
- private static $ fixturePath ;
29
-
30
25
/**
31
26
* @var string
32
27
*/
@@ -47,7 +42,6 @@ abstract class HttpAdapterTest extends \PHPUnit_Framework_TestCase
47
42
*/
48
43
public static function setUpBeforeClass ()
49
44
{
50
- self ::$ fixturePath = realpath (__DIR__ .'/../fixture ' );
51
45
self ::$ logPath = PHPUnitUtility::getFile (true , 'php-http-adapter.log ' );
52
46
}
53
47
@@ -694,11 +688,13 @@ private function getData()
694
688
*/
695
689
private function getFiles ()
696
690
{
691
+ $ fixturePath = realpath (__DIR__ .'/../fixture/files ' );
692
+
697
693
return [
698
- 'file1 ' => [self :: $ fixturePath .'/files /file1.txt ' ],
694
+ 'file1 ' => [$ fixturePath .'/file1.txt ' ],
699
695
'file2 ' => [
700
- self :: $ fixturePath .'/files /file2.txt ' ,
701
- [self :: $ fixturePath .'/files /file3.txt ' ],
696
+ $ fixturePath .'/file2.txt ' ,
697
+ [$ fixturePath .'/file3.txt ' ],
702
698
],
703
699
];
704
700
}
You can’t perform that action at this time.
0 commit comments