We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 668c087 commit 699a985Copy full SHA for 699a985
src/TestSuite/IntegrationTestCase.php
@@ -434,6 +434,21 @@ public function delete($url)
434
$this->_sendRequest($url, 'DELETE');
435
}
436
437
+ /**
438
+ * Performs an OPTION request using the current request data.
439
+ *
440
+ * The response of the dispatched request will be stored as
441
+ * a property. You can use various assert methods to check the
442
+ * response.
443
444
+ * @param string|array $url The URL to request.
445
+ * @return void
446
+ */
447
+ public function options($url)
448
+ {
449
+ $this->_sendRequest($url, 'OPTIONS');
450
+ }
451
+
452
/**
453
* Creates and send the request into a Dispatcher instance.
454
*
0 commit comments