Skip to content

Commit e29a3bf

Browse files
committed
revert jsonldtest
1 parent ca22988 commit e29a3bf

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

tests/Functional/JsonLdTest.php

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,11 @@ public function testIssue6465(): void
4949
$this->markTestSkipped();
5050
}
5151

52-
$buffer = '';
53-
ob_start(function (string $chunk) use (&$buffer): void {
54-
$buffer .= $chunk;
55-
});
56-
57-
self::createClient()->request('POST', '/foo/1/validate', [
52+
$response = self::createClient()->request('POST', '/foo/1/validate', [
5853
'json' => ['bar' => '/bar6465s/2'],
5954
]);
6055

61-
ob_get_clean();
62-
63-
$res = json_decode($buffer, true);
64-
dump($res);
56+
$res = $response->toArray();
6557
$this->assertEquals('Bar two', $res['title']);
6658
}
6759

0 commit comments

Comments
 (0)