diff --git a/.github/workflows/shared_workflow.yml b/.github/workflows/shared_workflow.yml index c4c605454..ed5c7f092 100644 --- a/.github/workflows/shared_workflow.yml +++ b/.github/workflows/shared_workflow.yml @@ -122,6 +122,7 @@ jobs: SERVER_BRANCH: ${{ matrix.nextcloudVersion }} NEXTCLOUD_AUTOINSTALL: 'Yes' WITH_REDIS: 'YES' + PHP_EXCIMER_DISABLE: 'true' ports: - 80:80 options: --name=nextcloud diff --git a/tests/acceptance/features/api/setup.feature b/tests/acceptance/features/api/setup.feature index 8c3137240..2de23c0e9 100644 --- a/tests/acceptance/features/api/setup.feature +++ b/tests/acceptance/features/api/setup.feature @@ -164,7 +164,7 @@ Feature: setup the integration through an API """ """ - Then the HTTP status code should be "400" or "500" + Then the HTTP status code should be "400" Examples: | data | | "{}" | @@ -381,7 +381,7 @@ Feature: setup the integration through an API """ """ - Then the HTTP status code should be "400" or "500" + Then the HTTP status code should be "400" Examples: | data | | { "values": { "openproject_instance_url": "http://some-host.de"} }} | diff --git a/tests/acceptance/features/bootstrap/FeatureContext.php b/tests/acceptance/features/bootstrap/FeatureContext.php index 6a57747a9..f950bc054 100644 --- a/tests/acceptance/features/bootstrap/FeatureContext.php +++ b/tests/acceptance/features/bootstrap/FeatureContext.php @@ -676,26 +676,6 @@ public function theHTTPStatusCodeShouldBe( } } - /** - * @Then the HTTP status code should be :code1 or :code2 - * - * @param string $code1 - * @param string $code2 - * @param ResponseInterface $response - * - * @return void - */ - public function theHTTPStatusCodeShouldBeOr(string $code1, string $code2): void { - $statusCode = $this->response->getStatusCode(); - $message = "HTTP status code $statusCode is not one of the expected values $code1 or $code2"; - - Assert::assertContainsEquals( - $statusCode, - [$code1, $code2], - $message - ); - } - /** * @param PyStringNode $schemaString * @return mixed