Skip to content

Commit

Permalink
Try another approach
Browse files Browse the repository at this point in the history
  • Loading branch information
tontonsb committed May 27, 2024
1 parent a03de95 commit 400ba28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: yes
MARIADB_DATABASE: sfa
ports:
- 3306:3306
- 3307:3306
options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3

steps:
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 @@ -17,7 +17,7 @@ protected function setUp(): void
{
parent::setUp();

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

$this->pdo = new PDO($dsn, options: [
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
Expand Down

0 comments on commit 400ba28

Please sign in to comment.