Skip to content

Commit b67b4ba

Browse files
committed
Fixed tests getJson ~> getParsedContents
1 parent b93e780 commit b67b4ba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/JsonDecodeMiddlewareTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function testPost(string $contentType)
4040

4141
self::assertSame(
4242
[],
43-
$body->getJson()
43+
$body->getParsedContents()
4444
);
4545
}
4646

@@ -84,7 +84,7 @@ public function testPostNoContentTypeCheck()
8484

8585
self::assertSame(
8686
[],
87-
$body->getJson()
87+
$body->getParsedContents()
8888
);
8989
}
9090

@@ -112,7 +112,7 @@ public function testPostCustomTYpe()
112112

113113
self::assertSame(
114114
[],
115-
$body->getJson()
115+
$body->getParsedContents()
116116
);
117117
}
118118

tests/JsonStreamTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class JsonStreamTest extends TestCase
1111
public function testBasics()
1212
{
1313
$stream = new JsonStream([]);
14-
self::assertSame([], $stream->getJson());
14+
self::assertSame([], $stream->getParsedContents());
1515
self::assertSame(2, $stream->getSize());
1616
self::assertSame('[]', $stream->getContents());
1717
}

0 commit comments

Comments
 (0)