Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/stepup-behat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ jobs:
cd stepup
cp .env.test .env
cp gateway/surfnet_yubikey.yaml.dist gateway/surfnet_yubikey.yaml
if [ ! -f ../core/haproxy/haproxy.pem ] || [ ! -f ../core/haproxy/haproxy.crt ]; then
../core/scripts/create_dev_ca.sh
fi
# Distribute the dev CA to the app containers: the base image imports
# /config/haproxy/haproxy.crt on startup so services trust each other
# over HAProxy TLS. start-dev-env.sh does this copy; CI must too.
cp ../core/haproxy/haproxy.crt haproxy/haproxy.crt
${DOCKER_COMPOSE} up -d
- name: Install composer dependencies on the Behat container
run: |
Expand Down
4 changes: 2 additions & 2 deletions stepup/tests/behat/features/bootstrap/SelfServiceContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ public function logoutOfSelfService()

$this->minkContext->pressButton('Sign out');

$expectBaseUrl = 'https://www.surf.nl/';
$expectBaseUrl = 'https://ssp.dev.openconext.local/';
if (substr($this->minkContext->getSession()->getCurrentUrl(), 0, strlen($expectBaseUrl)) !== $expectBaseUrl) {
throw new Exception("after logout we should be redirected to the surf domain");
throw new Exception("after logout we should be redirected to the local test SP domain");
}
}

Expand Down
Loading