diff --git a/test/Controller/BrowseControllerTest.php b/test/Controller/BrowseControllerTest.php index 99af8b77..6fc2c55a 100644 --- a/test/Controller/BrowseControllerTest.php +++ b/test/Controller/BrowseControllerTest.php @@ -431,7 +431,7 @@ private function buildApiRequest(array $query) $uri = Uri::fromParts($parts); - if (!isset(parse_query($uri->getQuery())['for'])) { + if (!isset(Query::parse($uri->getQuery())['for'])) { $uri = $uri->withQuery('for=&'.$uri->getQuery()); }