Skip to content

Commit

Permalink
Keep debugging the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tontonsb committed May 27, 2024
1 parent f5032c0 commit bfb389d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
env:
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: yes
MARIADB_DATABASE: sfa
MARIADB_USER: sfa
MARIADB_PASSWORD: sfa
ports:
- 3307:3306
options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/MariaDB/PDOTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ protected function setUp(): void

$dsn = "mysql:host=localhost;port=3307;dbname=sfa;";

$this->pdo = new PDO($dsn, 'root', options: [
$this->pdo = new PDO($dsn, 'sfa', 'sfa', options: [
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
]);
Expand Down

0 comments on commit bfb389d

Please sign in to comment.