diff --git a/Tests/Functional/Controller/TeaControllerTest.php b/Tests/Functional/Controller/TeaControllerTest.php index d144168..219c4ed 100644 --- a/Tests/Functional/Controller/TeaControllerTest.php +++ b/Tests/Functional/Controller/TeaControllerTest.php @@ -44,7 +44,7 @@ final class TeaControllerTest extends FunctionalTestCase $request = new InternalRequest(); $request = $request->withPageId(1); - $html = $this->executeFrontendSubRequest($request)->getBody()->__toString(); + $html = (string)$this->executeFrontendSubRequest($request)->getBody(); self::assertStringContainsString('Godesberger Burgtee', $html); self::assertStringContainsString('Oolong', $html);