mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-06 18:02:42 +00:00
Implement category and configuration tests.
This commit is contained in:
@@ -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.');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user