|
@@ -369,7 +369,7 @@ class ONURESTControllerTest extends WebTestCaseBase
|
|
|
$this->getClient()->request('DELETE', $this->getUriPutDelete() . $id, $data);
|
|
|
// obtengo la respuesta
|
|
|
$response = $this->getClient()->getResponse();
|
|
|
- $this->assertEquals(204, $response->getStatusCode(), "Error en la respuesta http.");
|
|
|
+ $this->assertEquals(302, $response->getStatusCode(), "Error en la respuesta http.");
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -382,7 +382,7 @@ class ONURESTControllerTest extends WebTestCaseBase
|
|
|
{
|
|
|
$response = $this->generateGET();
|
|
|
// verifco el resultado
|
|
|
- $this->assertEquals(302, $response->getStatusCode(), "Error en la respuesta http.");
|
|
|
+ $this->assertEquals(200, $response->getStatusCode(), "Error en la respuesta http.");
|
|
|
$this->assertJson($response->getContent(), "No se obtuvo un objeto json.");
|
|
|
}
|
|
|
|