Browse Source

Attempt to fix the Failing TRAVIS build complaining about $psrRequest not defined.

Ilie Pandia 8 years ago
parent
commit
bbc6a546f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/TestSuite/IntegrationTestCase.php

+ 1 - 1
src/TestSuite/IntegrationTestCase.php

@@ -483,8 +483,8 @@ abstract class IntegrationTestCase extends TestCase
     protected function _sendRequest($url, $method, $data = [])
     {
         $dispatcher = $this->_makeDispatcher();
+        $psrRequest = null;
         try {
-            $psrRequest = null;
             $request = $this->_buildRequest($url, $method, $data);
             $psrRequest = $this->_createRequest($request);
             if ($dispatcher instanceof LegacyRequestDispatcher) {