From 7b197503e5e9ac4f5122ffacd7959632a751a2ba Mon Sep 17 00:00:00 2001 From: Dawid Parafinski Date: Fri, 8 Nov 2024 09:41:49 +0100 Subject: [PATCH] Fixed unit test --- tests/lib/MVC/Symfony/SiteAccess/RouterURITextTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/MVC/Symfony/SiteAccess/RouterURITextTest.php b/tests/lib/MVC/Symfony/SiteAccess/RouterURITextTest.php index b38690137c..bcc90d3241 100644 --- a/tests/lib/MVC/Symfony/SiteAccess/RouterURITextTest.php +++ b/tests/lib/MVC/Symfony/SiteAccess/RouterURITextTest.php @@ -118,7 +118,7 @@ public function testReverseMatch() 'suffix' => 'bar', ] ); - $matcher->setRequest(new SimplifiedRequest('http', '', 80, 'pathinfo')); + $matcher->setRequest(new SimplifiedRequest('http', '', 80, $semanticURI)); $result = $matcher->reverseMatch('something'); self::assertInstanceOf(URIText::class, $result);