mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
test: replace deprecated method
This commit is contained in:
parent
dbb34262d3
commit
705fd47501
@ -468,7 +468,7 @@ final class MiscUrlTest extends CIUnitTestCase
|
||||
*/
|
||||
public function testSafeMailto($expected = '', $email = '', $title = '', $attributes = '')
|
||||
{
|
||||
$request = Services::request($this->config);
|
||||
$request = Services::incomingrequest($this->config);
|
||||
$request->uri = new URI('http://example.com/');
|
||||
|
||||
Services::injectMock('request', $request);
|
||||
|
Loading…
x
Reference in New Issue
Block a user