Skip to content

Conversation

@ScharfViktor
Copy link
Collaborator

@ScharfViktor ScharfViktor commented Dec 24, 2025

Created image based on php:8.4.15-alpine3.22 for acceptance tests

test localy using image:

  • build: docker build --no-cache -f php/8.4/Dockerfile.multiarch -t php:8.4 .
  • run tests using php:8.4 image (replace here tests/acceptance/docker/src/acceptance.yml:3)
opencloud % WITH_WRAPPER=false BUILD_DEV_IMAGE=0 OC_IMAGE_TAG=dev \
BEHAT_FEATURE='tests/acceptance/features/apiGraphUserGroup/createUser.feature:26' \
make -C tests/acceptance/docker test-opencloud-feature-decomposed-storage

Result:

test runs

    Then the HTTP status code should be "<http-status-code>"                                    # FeatureContext::thenTheHTTPStatusCodeShouldBe()
    And user "<user>" <should-or-not> exist                                                     # FeatureContext::userShouldNotExist()
    Examples:
      | user                         | display-name | email           | password | http-status-code | enable | should-or-not |
      | nameWithCharacters(*:!;_+-&) | user         | new@example.org | 123      | 400              | true   | should not    |

1 scenario (1 passed)
5 steps (5 passed)
0m0.86s (19.02Mb)
runsh: Total 1 scenarios (1 passed, 0 failed)

tests in the CI: https://ci.opencloud.rocks/repos/3/pipeline/739

@ScharfViktor ScharfViktor merged commit dbb72ed into main Jan 7, 2026
1 check passed
@ScharfViktor ScharfViktor deleted the php-image branch January 13, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants