File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ abstract class TestCase extends PHPUnitTestCase
32
32
*/
33
33
private $ tmpNamespace ;
34
34
35
- public function setUp ()
35
+ protected function setUp ()
36
36
{
37
37
parent ::setUp ();
38
38
@@ -50,7 +50,7 @@ public function setUp()
50
50
$ this ->tmpNamespace = uniqid ('PACTN ' );
51
51
}
52
52
53
- public function tearDown ()
53
+ protected function tearDown ()
54
54
{
55
55
parent ::tearDown ();
56
56
$ this ->rmdir ($ this ->baseTmpDir );
Original file line number Diff line number Diff line change @@ -20,6 +20,16 @@ final class TestCaseTest extends TestCase
20
20
*/
21
21
private $ previousTemporaryDirectory = '' ;
22
22
23
+ protected function setUp ()
24
+ {
25
+ parent ::setUp ();
26
+ }
27
+
28
+ protected function tearDown ()
29
+ {
30
+ parent ::tearDown ();
31
+ }
32
+
23
33
public function provideTemporaryDirectory ()
24
34
{
25
35
for ($ i = 0 ; $ i <= self ::PENTIUM ; $ i ++) {
@@ -107,4 +117,9 @@ public function testAwaitTimeout(LoopInterface $loop = null)
107
117
108
118
$ this ->await ((new Deferred ())->promise (), $ loop , 0.1 );
109
119
}
120
+
121
+ public function testGetSysTempDir ()
122
+ {
123
+ self ::assertFileExists ($ this ->getSysTempDir ());
124
+ }
110
125
}
You can’t perform that action at this time.
0 commit comments