diff --git a/Tests/Functional/Controller/Fixtures/Database/ContentElementTeaIndex.csv b/Tests/Functional/Controller/Fixtures/Database/ContentElementTeaIndex.csv index 682e61b..0fe9c69 100644 --- a/Tests/Functional/Controller/Fixtures/Database/ContentElementTeaIndex.csv +++ b/Tests/Functional/Controller/Fixtures/Database/ContentElementTeaIndex.csv @@ -1,3 +1,3 @@ "tt_content" ,"uid","pid","CType","header","list_type" -,1,1,"list","Teas Index","tea_teaindex" +,1,1,"list","Tea index","tea_teaindex" diff --git a/Tests/Functional/Controller/TeaControllerTest.php b/Tests/Functional/Controller/TeaControllerTest.php index b0a8ec8..e4c1334 100644 --- a/Tests/Functional/Controller/TeaControllerTest.php +++ b/Tests/Functional/Controller/TeaControllerTest.php @@ -47,8 +47,7 @@ final class TeaControllerTest extends FunctionalTestCase $this->importCSVDataSet(__DIR__ . '/Fixtures/Database/ContentElementTeaIndex.csv'); $this->importCSVDataSet(__DIR__ . '/Fixtures/Database/Teas.csv'); - $request = new InternalRequest(); - $request = $request->withPageId(1); + $request = (new InternalRequest())->withPageId(1); $html = (string)$this->executeFrontendSubRequest($request)->getBody();