diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ce93640..60e2ae9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,12 +25,13 @@ jobs: mysql: image: mariadb:latest env: + MYSQL_USER: root MYSQL_ALLOW_EMPTY_PASSWORD: true MYSQL_ROOT_PASSWORD: '' MYSQL_DATABASE: wordpress_test ports: - 3306 - options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 + options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3 continue-on-error: ${{ matrix.experimental }} strategy: diff --git a/tests/test-webp.php b/tests/test-webp.php index 2bbbaf7..9a60baf 100644 --- a/tests/test-webp.php +++ b/tests/test-webp.php @@ -171,7 +171,7 @@ public function test_timmy_ignores_gif_when_using_webp() { $result = $image->picture_responsive(); $expected = sprintf( - '%2$s', + '%2$s', $this->get_upload_url(), PHP_EOL );