We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dc183c commit 6843f2fCopy full SHA for 6843f2f
1 file changed
test/Unit/Network/RequestTest.php
@@ -103,4 +103,15 @@ public function testGetVerb()
103
104
$this->assertSame('POST', $request->getVerb());
105
}
106
+
107
+ /**
108
+ * @covers OpCacheGUI\Network\Request::__construct
109
+ * @covers OpCacheGUI\Network\Request::post
110
+ */
111
+ public function testPost()
112
+ {
113
+ $request = new Request([], ['foo' => 'bar'], ['REQUEST_URI' => '']);
114
115
+ $this->assertSame('bar', $request->post('foo'));
116
+ }
117
0 commit comments