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
@@ -20,7 +20,7 @@ class ApiHttpSemanticsAndMethodSafetyContractTest extends FullSurfaceE2EContract
]);
$this->assertControlled($response, 'GET', $uri);
$this->assertNoServerError($response, 'GET with mutating-looking query at '.$uri);
$this->assertNoServerError($response, 'GET with mutating-looking query at ' . $uri);
}
}
@@ -35,8 +35,8 @@ class ApiHttpSemanticsAndMethodSafetyContractTest extends FullSurfaceE2EContract
$response = $this->actingAs($this->actorFor($uri), 'api')->json($wrong, $this->materializePath($uri), $this->payloadFor($wrong, $uri));
$this->assertStatusIn($response, [200, 201, 202, 204, 302, 400, 401, 403, 404, 405, 409, 419, 422], $wrong.' '.$uri);
$this->assertNoServerError($response, 'wrong method probe '.$wrong.' '.$uri);
$this->assertStatusIn($response, [200, 201, 202, 204, 302, 400, 401, 403, 404, 405, 409, 419, 422], $wrong . ' ' . $uri);
$this->assertNoServerError($response, 'wrong method probe ' . $wrong . ' ' . $uri);
}
}
@@ -49,7 +49,7 @@ class ApiHttpSemanticsAndMethodSafetyContractTest extends FullSurfaceE2EContract
$response = $this->actingAs($this->actorFor($uri), 'api')->deleteJson($this->materializePath($uri));
$this->assertControlled($response, 'DELETE', $uri);
$this->assertNoServerError($response, 'bodyless delete at '.$uri);
$this->assertNoServerError($response, 'bodyless delete at ' . $uri);
}
}
}