Removed unneeded checks

This commit is contained in:
Graham Campbell
2015-06-18 18:13:37 +01:00
parent 2b43b83455
commit 62ac2780cf
4 changed files with 1 additions and 4 deletions

View File

@@ -38,8 +38,8 @@ class ComponentTest extends AbstractTestCase
public function testPostComponentUnauthorized()
{
$this->post('/api/v1/components');
$this->assertResponseStatus(401);
$this->seeJson(['message' => 'You are not authorized to view this content.', 'status_code' => 401]);
}
public function testPostComponentNoData()

View File

@@ -39,7 +39,6 @@ class IncidentTest extends AbstractTestCase
{
$this->post('/api/v1/incidents');
$this->assertResponseStatus(401);
$this->seeJson(['message' => 'You are not authorized to view this content.', 'status_code' => 401]);
}
public function testPostIncidentNoData()

View File

@@ -40,7 +40,6 @@ class MetricPointTest extends AbstractTestCase
$this->post("/api/v1/metrics/{$metric->id}/points");
$this->assertResponseStatus(401);
$this->seeJson(['message' => 'You are not authorized to view this content.', 'status_code' => 401]);
}
public function testPostMetricPoint()

View File

@@ -39,7 +39,6 @@ class MetricTest extends AbstractTestCase
{
$this->post('/api/v1/metrics');
$this->assertResponseStatus(401);
$this->seeJson(['message' => 'You are not authorized to view this content.', 'status_code' => 401]);
}
public function testPostMetricNoData()