Skip to content

Commit 3c1868a

Browse files
committed
Used assertIsInt and assertIsString instead of assertInternalType
Because assertInternalType is deprecated
1 parent 736526a commit 3c1868a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/Codeception/Module/PhpBrowserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ public function testRequestApi()
556556
$response = $this->module->_request('POST', '/form/try', ['user' => 'davert']);
557557
$data = data::get('form');
558558
$this->assertEquals('davert', $data['user']);
559-
$this->assertInternalType('string', $response);
559+
$this->assertIsString($response);
560560
$this->assertStringContainsString('Welcome to test app', $response);
561561
$this->module->click('Welcome to test app'); // page not loaded
562562
}

0 commit comments

Comments
 (0)