mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-12-22 02:06:11 +01:00
[TASK] Clean up TeaControllerTest
a bit (#1527)
This commit is contained in:
parent
81422d4ed5
commit
b374aee4fa
2 changed files with 2 additions and 3 deletions
|
@ -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.
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue