mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-30 18:46:10 +01:00

[TASK] Clean up TeaControllerTest a bit ()

This commit is contained in:
Oliver Klee 2024-12-10 20:47:54 +01:00 committed by GitHub
parent 81422d4ed5
commit b374aee4fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions
Tests/Functional/Controller

View file

@ -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"

Can't render this file because it has a wrong number of fields in line 2.

View file

@ -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();