Guillermo Espinoza 7 years ago
parent
commit
83168f8ea8
2 changed files with 3 additions and 6 deletions
  1. 1 0
      .drone.yml
  2. 2 6
      src/CablemodemBundle/tests/CMTSRESTControllerTest.php

+ 1 - 0
.drone.yml

@@ -42,6 +42,7 @@ pipeline:
       - composer install -n --no-progress
       - composer dump-autoload --optimize
       - php bin/console doctrine:schema:update --force -vvv --env=test
+      - php bin/console cache:clear --no-warmup
       - touch var/logs/test.log
 
       - tail -f var/logs/*.log &

+ 2 - 6
src/CablemodemBundle/tests/CMTSRESTControllerTest.php

@@ -114,12 +114,8 @@ class CMTSRESTControllerTest extends WebTestCaseBase
                 'tenancyId' => $this->obtainData('tenancyId'),
             ];
         }
-        try {
-
-            $this->getClient()->request('GET', $uri . $this->generateFilters($data));
-        } catch (\Exception $ex) {
-            var_dump($ex->getMessage());
-        }
+        
+        $this->getClient()->request('GET', $uri . $this->generateFilters($data));
 
         return $this->getClient()->getResponse();
     }