Skip to content

Commit fc088b8

Browse files
committed
[HttpFoundation] Removed obsolete test.
1 parent 5224572 commit fc088b8

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Tests/JsonResponseTest.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -276,14 +276,6 @@ public function testConstructorWithNullAsDataThrowsAnUnexpectedValueException()
276276
new JsonResponse(null, 200, [], true);
277277
}
278278

279-
public function testfromJsonStringConstructorWithNullAsDataThrowsAnUnexpectedValueException()
280-
{
281-
$this->expectException(\TypeError::class);
282-
$this->expectExceptionMessage('If $json is set to true, argument $data must be a string or object implementing __toString(), "null" given.');
283-
284-
JsonResponse::fromJsonString(null);
285-
}
286-
287279
public function testConstructorWithObjectWithToStringMethod()
288280
{
289281
$class = new class() {

0 commit comments

Comments
 (0)