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()
3636 $ this ->module ->assertFileExists (__FILE__ );
3737 $ this ->module ->assertFileNotExists (__FILE__ . '.notExist ' );
3838 $ 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);
4041 $ 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]]);
4244 $ this ->module ->assertCount (3 , [1 , 2 , 3 ]);
4345 }
4446
You can’t perform that action at this time.
0 commit comments