|
@@ -148,20 +148,20 @@ class ONURESTControllerTest extends WebTestCaseBase
|
|
$this->assertEquals(200, $response->getStatusCode(), "Error en la respuesta http.");
|
|
$this->assertEquals(200, $response->getStatusCode(), "Error en la respuesta http.");
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
- * Realiza una busqueda.
|
|
|
|
- * get_onus -> /api/onus.{_format}
|
|
|
|
- * controller: ClientBundle:ClientREST:cget
|
|
|
|
- * Method: GET
|
|
|
|
- */
|
|
|
|
- public function testGET_PUT()
|
|
|
|
- {
|
|
|
|
- $response = $this->generateGET();
|
|
|
|
- // verifco el resultado
|
|
|
|
- $this->assertEquals(200, $response->getStatusCode(), "Error en la respuesta http.");
|
|
|
|
- $this->assertJson($response->getContent(), "No se obtuvo un objeto json.");
|
|
|
|
- $this->assertContains('pon_modifi', strtolower($response->getContent()), "Error al buscar al onu modificado.");
|
|
|
|
- }
|
|
|
|
|
|
+ ///**
|
|
|
|
+ // * Realiza una busqueda.
|
|
|
|
+ // * get_onus -> /api/onus.{_format}
|
|
|
|
+ // * controller: ClientBundle:ClientREST:cget
|
|
|
|
+ // * Method: GET
|
|
|
|
+ // */
|
|
|
|
+ //public function testGET_PUT()
|
|
|
|
+ //{
|
|
|
|
+ // $response = $this->generateGET();
|
|
|
|
+ // // verifco el resultado
|
|
|
|
+ // $this->assertEquals(200, $response->getStatusCode(), "Error en la respuesta http.");
|
|
|
|
+ // $this->assertJson($response->getContent(), "No se obtuvo un objeto json.");
|
|
|
|
+ // $this->assertContains('pon_modifi', strtolower($response->getContent()), "Error al buscar al onu modificado.");
|
|
|
|
+ //}
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|