Don't dump the response

This commit is contained in:
James Brooks 2018-06-28 11:46:07 +01:00 committed by GitHub
parent 91d41c4799
commit db627f6e86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,6 @@ class MetricPointTest extends AbstractApiTestCase
]);
$response = $this->json('POST', "/api/v1/metrics/{$metric->id}/points", $metricPoint->toArray());
$response->assertStatus(200);
$response->assertJsonFragment(['value' => $metricPoint->value]);
}
@ -78,7 +77,6 @@ class MetricPointTest extends AbstractApiTestCase
$postData['timestamp'] = $timestamp;
$response = $this->json('POST', "/api/v1/metrics/{$metric->id}/points", $postData);
$response->dump();
$response->assertStatus(200);
$response->assertJsonFragment([