This repository was archived by the owner on Jan 21, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ protected function setUp() : void
27
27
public function testInvocationReturnsArray () : array
28
28
{
29
29
$ config = ($ this ->provider )();
30
- self :: assertInternalType ('array ' , $ config );
30
+ $ this -> assertInternalType ('array ' , $ config );
31
31
32
32
return $ config ;
33
33
}
@@ -37,8 +37,8 @@ public function testInvocationReturnsArray() : array
37
37
*/
38
38
public function testReturnedArrayContainsDependencies (array $ config ) : void
39
39
{
40
- self :: assertArrayHasKey ('dependencies ' , $ config );
41
- self :: assertArrayHasKey ('templates ' , $ config );
42
- self :: assertInternalType ('array ' , $ config ['dependencies ' ]);
40
+ $ this -> assertArrayHasKey ('dependencies ' , $ config );
41
+ $ this -> assertArrayHasKey ('templates ' , $ config );
42
+ $ this -> assertInternalType ('array ' , $ config ['dependencies ' ]);
43
43
}
44
44
}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class ExceptionTest extends TestCase
18
18
{
19
19
public function testExceptionInterfaceExtendsTemplateExceptionInterface () : void
20
20
{
21
- self :: assertTrue (is_a (ExceptionInterface::class, TemplateExceptionInterface::class, true ));
21
+ $ this -> assertTrue (is_a (ExceptionInterface::class, TemplateExceptionInterface::class, true ));
22
22
}
23
23
24
24
public function exception () : Generator
@@ -38,7 +38,7 @@ public function exception() : Generator
38
38
*/
39
39
public function testExceptionIsInstanceOfExceptionInterface (string $ exception ) : void
40
40
{
41
- self :: assertContains ('Exception ' , $ exception );
42
- self :: assertTrue (is_a ($ exception , ExceptionInterface::class, true ));
41
+ $ this -> assertContains ('Exception ' , $ exception );
42
+ $ this -> assertTrue (is_a ($ exception , ExceptionInterface::class, true ));
43
43
}
44
44
}
You can’t perform that action at this time.
0 commit comments