mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 13:53:45 +02:00
Fix integration tests to properly account for the rule position in the API
This commit is contained in:
@@ -40,7 +40,7 @@ class PowerControllerTest extends ClientApiIntegrationTestCase
|
||||
]);
|
||||
|
||||
$response->assertStatus(Response::HTTP_UNPROCESSABLE_ENTITY);
|
||||
$response->assertJsonPath('errors.0.code', 'in');
|
||||
$response->assertJsonPath('errors.0.meta.rule', 'in');
|
||||
$response->assertJsonPath('errors.0.detail', 'The selected signal is invalid.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user