Explorar o código

desactivo en device listener en los test

Luciano Andrade %!s(int64=7) %!d(string=hai) anos
pai
achega
3c0fa0c0aa
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      tests/WebTestCaseBase.php

+ 5 - 0
tests/WebTestCaseBase.php

@@ -107,6 +107,8 @@ class WebTestCaseBase extends WebTestCase
         }
     }
 
+
+
     /**
      * Funcion que crea el servicio de tenencias. Por defecto crea la tenencia base.
      * @param int $current Contiene la tenencia actual.
@@ -398,5 +400,8 @@ class WebTestCaseBase extends WebTestCase
         $this->FakeLogin();
         // creo el servicio de tenencias
         $this->fakeTenancyService();
+
+	static::$kernel->getContainer()->get('device.device_listener')->remoteCheck(false);
+
     }
 }