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:
@@ -28,7 +28,7 @@ class SettingsControllerTest extends ClientApiIntegrationTestCase
|
||||
]);
|
||||
|
||||
$response->assertStatus(Response::HTTP_UNPROCESSABLE_ENTITY);
|
||||
$response->assertJsonPath('errors.0.code', 'required');
|
||||
$response->assertJsonPath('errors.0.meta.rule', 'required');
|
||||
|
||||
$server = $server->refresh();
|
||||
$this->assertSame($originalName, $server->name);
|
||||
|
||||
Reference in New Issue
Block a user