File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
tests/unit/Codeception/Module Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,11 @@ public function testAsserts()
36
36
$ this ->module ->assertFileExists (__FILE__ );
37
37
$ this ->module ->assertFileNotExists (__FILE__ . '.notExist ' );
38
38
$ this ->module ->assertInstanceOf ('Exception ' , new Exception ());
39
- $ this ->module ->assertInternalType ('integer ' , 5 );
39
+ //assertInternalType is deprecated and will be removed in PHPUnit 9
40
+ //$this->module->assertInternalType('integer', 5);
40
41
$ this ->module ->assertArrayHasKey ('one ' , ['one ' => 1 , 'two ' => 2 ]);
41
- $ this ->module ->assertArraySubset (['foo ' => [1 ]], ['foo ' => [1 , 2 ]]);
42
+ //assertArraySubset is deprecated and will be removed in PHPUnit 9
43
+ //$this->module->assertArraySubset(['foo' => [1]], ['foo' => [1, 2]]);
42
44
$ this ->module ->assertCount (3 , [1 , 2 , 3 ]);
43
45
}
44
46
You can’t perform that action at this time.
0 commit comments