Ver código fonte

Arreglo test

gabriel 7 anos atrás
pai
commit
80fb0da2b6

+ 1 - 0
src/FTTHBundle/Form/OLTType.php

@@ -35,6 +35,7 @@ class OLTType extends AbstractType
             ->add('extraData')
             ->add('tenancyId')
             ->add('enable')
+            ->add('backups')
         ;
 
         $builder->addEventListener(

+ 0 - 1
src/FTTHBundle/Resources/translations/FTTHBundle.es.yml

@@ -108,7 +108,6 @@ form:
     label_time_onu_stats: Estadísticas de ONUs
     label_time_olt_octets: Tráfico de OLT
     label_map: Mapa
-    label_client: Cliente
     label_slot: Slot
     label_link: Link
     label_enable: Enable

+ 1 - 1
src/FTTHBundle/tests/ONURESTControllerTest.php

@@ -137,7 +137,7 @@ class ONURESTControllerTest extends WebTestCaseBase
         $datos['timePonStats'] = 5;
         $datos['timeOnuStats'] = 5;
         $datos['tenancyId'] = 1;
-
+        $datos['backups'] = 1;
         if ($key == null) {
             return $datos;
         } else {