Skip to content

Add: behat test to test idempotentcy#94

Open
kayjoosten wants to merge 9 commits into
mainfrom
feature/issue-587-behat-idempotent
Open

Add: behat test to test idempotentcy#94
kayjoosten wants to merge 9 commits into
mainfrom
feature/issue-587-behat-idempotent

Conversation

@kayjoosten

Copy link
Copy Markdown
Contributor

No description provided.

…eatureContext

Remove PHP 7.4+ typed property syntax and PHP 7.3+ trailing commas in function
calls — the Behat container uses an older PHP version.
@kayjoosten

Copy link
Copy Markdown
Contributor Author

@johanib this ci still fails that is what we want. After merging OpenConext/Stepup-Middleware#595 and OpenConext/Stepup-Middleware#587 they should succeed.

Aligns with the php85-apache2-node24 base image already used by EngineBlock.
Restores typed property and trailing commas now that PHP 8.5 is in use.
@kayjoosten kayjoosten requested a review from johanib June 12, 2026 07:50
mariadb-client 11.4+ in the php85 base image requires TLS by default;
the dev mariadb server does not offer it, so every mysql/mysqldump call
failed with ERROR 2026.
- replace abandoned mink-goutte-driver/mink-extension with
  mink-browserkit-driver + friends-of-behat/mink-extension
  (browserkit_http sessions in behat.yml)
- guzzle now an explicit dependency (was transitive via Goutte)
- phpunit 5.7 -> 12: assert functions are namespaced, so contexts
  use Assert:: static calls; string assertContains variants renamed
- ramsey/uuid 3 -> 4; drop moontoast/math and random_compat
- symfony/mime required by BrowserKit for non-empty request bodies
An empty service_providers list is rejected by middleware
("at least one service_provider must be configured"). Push the
full fixtures/middleware-config.json twice instead, via a new
'I have the payload from file' step.
Temporarily tag with @Skip so the PHP 8.5 suite upgrade can be
validated in CI without this feature failing the run. Remove the
tag once CI is green.
The published openconext-devconf:test image is only rebuilt via manual
workflow_dispatch and still contains PHP 7.2, which cannot parse the
PHP 8.5 vendor code ("syntax error, unexpected '='"). Build the image
from stepup/tests/Dockerfile in the test run itself so the suite always
matches the branch. Drop --ignore-platform-reqs: it only masked the
PHP version mismatch.
PHP 8.5 suite upgrade verified green in CI; remove the temporary
@Skip tag.
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.

1 participant