mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-10 01:16:12 +01:00
[TASK] Prefer string casts over explictly calling __toString
(#1136)
This commit is contained in:
parent
c3f991862c
commit
94a494240e
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ final class TeaControllerTest extends FunctionalTestCase
|
||||||
$request = new InternalRequest();
|
$request = new InternalRequest();
|
||||||
$request = $request->withPageId(1);
|
$request = $request->withPageId(1);
|
||||||
|
|
||||||
$html = $this->executeFrontendSubRequest($request)->getBody()->__toString();
|
$html = (string)$this->executeFrontendSubRequest($request)->getBody();
|
||||||
|
|
||||||
self::assertStringContainsString('Godesberger Burgtee', $html);
|
self::assertStringContainsString('Godesberger Burgtee', $html);
|
||||||
self::assertStringContainsString('Oolong', $html);
|
self::assertStringContainsString('Oolong', $html);
|
||||||
|
|
Loading…
Reference in a new issue