File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public function testPost(string $contentType)
40
40
41
41
self ::assertSame (
42
42
[],
43
- $ body ->getJson ()
43
+ $ body ->getParsedContents ()
44
44
);
45
45
}
46
46
@@ -84,7 +84,7 @@ public function testPostNoContentTypeCheck()
84
84
85
85
self ::assertSame (
86
86
[],
87
- $ body ->getJson ()
87
+ $ body ->getParsedContents ()
88
88
);
89
89
}
90
90
@@ -112,7 +112,7 @@ public function testPostCustomTYpe()
112
112
113
113
self ::assertSame (
114
114
[],
115
- $ body ->getJson ()
115
+ $ body ->getParsedContents ()
116
116
);
117
117
}
118
118
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class JsonStreamTest extends TestCase
11
11
public function testBasics ()
12
12
{
13
13
$ stream = new JsonStream ([]);
14
- self ::assertSame ([], $ stream ->getJson ());
14
+ self ::assertSame ([], $ stream ->getParsedContents ());
15
15
self ::assertSame (2 , $ stream ->getSize ());
16
16
self ::assertSame ('[] ' , $ stream ->getContents ());
17
17
}
You can’t perform that action at this time.
0 commit comments