Skip to content

Commit fabf1d7

Browse files
committed
Used assertIsInt and assertIsString instead of assertInternalType
Because assertInternalType is deprecated
1 parent 3823aef commit fabf1d7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/unit/Codeception/Module/AssertsTest.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)