Skip to content

Commit

Permalink
(CI test, will revert)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamjallen committed Aug 14, 2023
1 parent ad62108 commit 6fc310a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/cdash/tests/install_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public function install($start_with_empty_db = false)
$this->clickSubmitByName('Submit');
$response = $this->getBrowser()->getContentAsText();
if (strpos($response, 'successfully created') === false) {
throw new Exception($response);
$this->fail("Unable to create database.");
return 1;
}
Expand Down
5 changes: 5 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -19611,6 +19611,11 @@ parameters:
count: 1
path: app/cdash/tests/install_test.php

-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: app/cdash/tests/install_test.php

-
message: """
#^Call to deprecated function pdo_fetch_array\\(\\)\\:
Expand Down

0 comments on commit 6fc310a

Please sign in to comment.