Implement category and configuration tests.

This commit is contained in:
James Cole
2018-07-01 21:27:25 +02:00
parent d97fdc3393
commit 3bca9b06f8
5 changed files with 364 additions and 1 deletions

View File

@@ -249,6 +249,7 @@ class BudgetLimitControllerTest extends TestCase
// call API
$response = $this->post('/api/v1/budget_limits', $data);
$response->assertStatus(500);
$response->assertSee('Unknown budget.');
}
/**
@@ -324,6 +325,7 @@ class BudgetLimitControllerTest extends TestCase
// call API
$response = $this->put('/api/v1/budget_limits/' . $budgetLimit->id, $data);
$response->assertStatus(500);
$response->assertSee('Unknown budget.');
}
}