Set an order on metrics via the API. Closes #1874

This commit is contained in:
James Brooks
2016-06-02 09:06:40 +01:00
parent 439ac9fe44
commit cab030237b
12 changed files with 106 additions and 17 deletions

View File

@@ -62,6 +62,8 @@ class MetricTest extends AbstractApiTestCase
'display_chart' => 1,
'places' => 0,
'view' => 0,
'threshold' => 5,
'order' => 1,
]);
$this->seeJson(['name' => 'Foo']);
$this->assertResponseOk();