We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee34dca commit 5e4e13bCopy full SHA for 5e4e13b
1 file changed
tests/system/HTTP/IncomingRequestTest.php
@@ -856,6 +856,13 @@ public function testGetBodyWithFalseBody(): void
856
$this->assertNull($request->getBody());
857
}
858
859
+ public function testGetBodyWithZero(): void
860
+ {
861
+ $request = $this->createRequest(null, '0');
862
+
863
+ $this->assertSame('0', $request->getBody());
864
+ }
865
866
/**
867
* @see https://github.com/codeigniter4/CodeIgniter4/issues/3020
868
*/
0 commit comments