|
@@ -401,10 +401,10 @@ class WebTestCaseBase extends WebTestCase
|
|
|
// creo el servicio de tenencias
|
|
|
$this->fakeTenancyService();
|
|
|
|
|
|
- if (static::$kernel->getContainer()->has('device.device_listener'))
|
|
|
- static::$kernel->getContainer()->get('device.device_listener')->remoteCheck(false);
|
|
|
- if (static::$kernel->getContainer()->has('device.device_validator'))
|
|
|
- static::$kernel->getContainer()->get('device.device_validator')->remoteCheck(false);
|
|
|
+ if ($this->getClient()->getContainer()->has('device.device_listener'))
|
|
|
+ $this->getClient()->getContainer()->get('device.device_listener')->remoteCheck(false);
|
|
|
+ if ($this->getClient()->getContainer()->has('device.device_validator'))
|
|
|
+ $this->getClient()->getContainer()->get('device.device_validator')->remoteCheck(false);
|
|
|
|
|
|
}
|
|
|
}
|