Skip to content

Commit

Permalink
[TASK] Clean up TeaControllerTest a bit (#1527)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverklee authored Dec 10, 2024
1 parent 81422d4 commit b374aee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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"
3 changes: 1 addition & 2 deletions Tests/Functional/Controller/TeaControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ public function indexActionRendersAllAvailableTeas(): void
$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();

Expand Down

0 comments on commit b374aee

Please sign in to comment.