Browse Source

Fix test REST

Espinoza Guillermo 7 years ago
parent
commit
52f0dc89a5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/IPv4Bundle/tests/Controller/REST/HostRESTControllerTest.php

+ 2 - 2
src/IPv4Bundle/tests/Controller/REST/HostRESTControllerTest.php

@@ -3,7 +3,7 @@
 namespace IPv4Bundle\tests\Controller\REST;
 
 use WebserviceBundle\tests\WebTestCaseBase;
-use IPv4Bundle\Entity\Host;
+use IPv4Bundle\Utils\HostStatus;
 
 /**
  * Class HostRESTControllerTest
@@ -77,7 +77,7 @@ class HostRESTControllerTest extends BaseRESTControllerTest
         $datos = [
             'mac' => 'cafecafecafe',
             'hostType' => null,
-            'state' => Host::STATE_ACTIVE,
+            'state' => HostStatus::STATE_ACTIVE,
             'filename' => 'cafecafecafe.bin',
         ];