We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca22988 commit e29a3bfCopy full SHA for e29a3bf
tests/Functional/JsonLdTest.php
@@ -49,19 +49,11 @@ public function testIssue6465(): void
49
$this->markTestSkipped();
50
}
51
52
- $buffer = '';
53
- ob_start(function (string $chunk) use (&$buffer): void {
54
- $buffer .= $chunk;
55
- });
56
-
57
- self::createClient()->request('POST', '/foo/1/validate', [
+ $response = self::createClient()->request('POST', '/foo/1/validate', [
58
'json' => ['bar' => '/bar6465s/2'],
59
]);
60
61
- ob_get_clean();
62
63
- $res = json_decode($buffer, true);
64
- dump($res);
+ $res = $response->toArray();
65
$this->assertEquals('Bar two', $res['title']);
66
67
0 commit comments