Skip to content

Commit 13416bb

Browse files
committed
test: fix failed test
1 parent 79c1b2f commit 13416bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/system/Validation/ValidationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ public function testJsonInputInvalid(): void
797797

798798
$config = new App();
799799
$json = 'invalid';
800-
$request = new IncomingRequest($config, new URI(), $json, new UserAgent());
800+
$request = new IncomingRequest($config, new SiteURI($config), $json, new UserAgent());
801801
$request->setHeader('Content-Type', 'application/json');
802802

803803
$rules = [

0 commit comments

Comments
 (0)