add tests batch 20

This commit is contained in:
root
2026-06-09 01:03:53 -04:00
parent 95efb9652e
commit 6be4875c5e
1502 changed files with 13797 additions and 11313 deletions
@@ -24,8 +24,8 @@ class ApiRequestHeaderSpoofingContractTest extends FullSurfaceE2EContractCase
'X-Impersonate-User' => (string) $this->admin->id,
])->json($method, $this->materializePath($uri), $this->payloadFor($method, $uri));
$this->assertStatusIn($response, [401, 403, 404, 405, 419, 422], 'spoofed headers should not authorize parent at '.$method.' '.$uri);
$this->assertNoServerError($response, 'header spoofing at '.$method.' '.$uri);
$this->assertStatusIn($response, [401, 403, 404, 405, 419, 422], 'spoofed headers should not authorize parent at ' . $method . ' ' . $uri);
$this->assertNoServerError($response, 'header spoofing at ' . $method . ' ' . $uri);
}
}
}