Added Metric and MetricPoint API testing

This commit is contained in:
James Brooks
2015-06-02 20:02:43 +01:00
parent 90110944ff
commit 743ed28fd8
5 changed files with 114 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ class ComponentTest extends AbstractTestCase
{
$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()