|
|
@@ -19,8 +19,8 @@ use Cake\Network\Request;
|
|
|
use Cake\Network\Session;
|
|
|
use Cake\Routing\DispatcherFactory;
|
|
|
use Cake\Routing\Router;
|
|
|
-use Cake\TestSuite\TestCase;
|
|
|
use Cake\TestSuite\Stub\Response;
|
|
|
+use Cake\TestSuite\TestCase;
|
|
|
|
|
|
/**
|
|
|
* A test case class intended to make integration tests of
|
|
|
@@ -239,6 +239,7 @@ abstract class IntegrationTestCase extends TestCase {
|
|
|
* @param string $method The HTTP method
|
|
|
* @param array|null $data The request data.
|
|
|
* @return void
|
|
|
+ * @throws \Exception
|
|
|
*/
|
|
|
protected function _sendRequest($url, $method, $data = []) {
|
|
|
$request = $this->_buildRequest($url, $method, $data);
|