Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1.x' into timber-2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
gchtr committed Sep 12, 2023
2 parents c44ea0c + 4e77d3e commit 9f95658
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion tests/test-webp.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public function test_timmy_ignores_gif_when_using_webp() {

$result = $image->picture_responsive();
$expected = sprintf(
'<source srcset="%1$s/logo-small.gif">%2$s<img src="http://example.org/wp-content/uploads/2023/04/logo-small.gif" width="100" height="50" alt="" loading="lazy">',
'<source srcset="%1$s/logo-small.gif">%2$s<img src="%1$s/logo-small.gif" width="100" height="50" alt="" loading="lazy">',
$this->get_upload_url(),
PHP_EOL
);
Expand Down

0 comments on commit 9f95658

Please sign in to comment.