Maxi Schvindt hace 7 años
padre
commit
68e73b1818
Se han modificado 2 ficheros con 2 adiciones y 7 borrados
  1. 1 1
      .drone.yml
  2. 1 6
      src/CablemodemBundle/tests/CablemodemRESTControllerTest.php

+ 1 - 1
.drone.yml

@@ -44,7 +44,7 @@ pipeline:
 
       - tail -f var/logs/*.log &
       - bin/console server:run --help --end=prod
-      - vendor/phpunit/phpunit/phpunit --debug -c phpunit.xml.dist
+      - vendor/phpunit/phpunit/phpunit -c phpunit.xml.dist
 
  docker:
    repo : docker.infra.flowdat.com/fd3/cablemodem

+ 1 - 6
src/CablemodemBundle/tests/CablemodemRESTControllerTest.php

@@ -48,12 +48,7 @@ class CablemodemRESTControllerTest extends WebTestCaseBase
         $datos['administrativeState'] = '';
         $datos['transitionState'] = 'activo';
         $datos['extraData'] = '';
-        $datos['tenancyId'] = '1';
-        $datos['node'] = '';
-        $datos['profile'] = '';
-        $datos['model'] = '';
-        $datos['workflow'] = '';
-        $datos['location'] = '';
+        $datos['tenancyId'] = 1;
 
         if ($key == null) {
             return $datos;