Skip to content

Commit

Permalink
debug: print problematic document
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Schiwon <[email protected]>
  • Loading branch information
blizzz committed Jun 26, 2024
1 parent 50a6b27 commit de5db83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 26 deletions.
27 changes: 2 additions & 25 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,32 +39,9 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: [ "8.0", "8.1", "8.2", "8.3" ]
php-versions: [ "8.3" ]
databases: [ "mysql" ]
server-versions: [ "stable28", "stable29", "master" ]
exclude:
- server-versions: "master"
php-versions: "8.0"
databases: "mysql"
- server-versions: "master"
php-versions: "8.2"
databases: "mysql"
- server-versions: "stable29"
php-versions: "8.2"
databases: "mysql"
- server-versions: "stable29"
php-versions: "8.1"
databases: "mysql"
- server-versions: "stable28"
php-versions: "8.1"
databases: "mysql"
include:
- server-versions: "stable28"
php-versions: "8.2"
databases: "sqlite"
- server-versions: "stable28"
php-versions: "8.2"
databases: "pgsql"
server-versions: [ "master" ]

name: Integration php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}

Expand Down
3 changes: 2 additions & 1 deletion tests/integration/features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ public function iSendAPostRequestToWithTheFollowingData($url,
public function theResponseShouldBeASamlRedirectPageThatGetsSubmitted() {
$responseBody = $this->response->getBody();
$domDocument = new DOMDocument();
$domDocument->loadHTML($responseBody);
error_log(sprintf('Trying to load expected HTML document: %s', $responseBody));
$loaded = $domDocument->loadHTML($responseBody);
$xpath = new DOMXpath($domDocument);
$postData = [];
$inputElements = $xpath->query('//input');
Expand Down

0 comments on commit de5db83

Please sign in to comment.