Introduce FixtureTest::useHttpMethod for manually overwrite the HTTP Method argument

This commit is contained in:
Philipp
2022-01-02 22:51:16 +01:00
parent 4e67bfed8d
commit 5e85939502
36 changed files with 175 additions and 82 deletions

View File

@@ -14,7 +14,7 @@ class ListsTest extends ApiTest
*/
public function testApiStatusesFWithFollowers()
{
$response = (new Lists(DI::app(), DI::l10n(), DI::baseUrl(), DI::args(), DI::logger(), DI::profiler(), DI::apiResponse(), ['REQUEST_METHOD' => Router::GET]))
$response = (new Lists(DI::app(), DI::l10n(), DI::baseUrl(), DI::args(), DI::logger(), DI::profiler(), DI::apiResponse(), []))
->run();
$json = $this->toJson($response);