diff --git a/JUSTFILE b/JUSTFILE index 9f71ba5..a1d2ca2 100644 --- a/JUSTFILE +++ b/JUSTFILE @@ -28,7 +28,7 @@ down: # [DDEV] Run unit and integration tests @test: echo "Running unit and integration tests"; \ - ddev exec {{PHPUNIT}} + vendor/bin/phpunit -d xdebug.max_nesting_level=250 -d memory_limit=1024M --coverage-html reports/ # [DDEV] Run tests and create code-coverage report @coverage: diff --git a/composer.json b/composer.json index 339b0f7..7b318a5 100644 --- a/composer.json +++ b/composer.json @@ -30,6 +30,7 @@ "chiiya/code-style-php": "^3.0", "phpro/grumphp": "^2.7", "phpunit/phpunit": "^11.3", + "symfony/var-dumper": "^7.1", "vlucas/phpdotenv": "^5.4" }, "autoload": { diff --git a/tests/Google/Fixtures/responses/offer-object.json b/tests/Google/Fixtures/responses/offer-object.json index 8466e8a..6b9416d 100644 --- a/tests/Google/Fixtures/responses/offer-object.json +++ b/tests/Google/Fixtures/responses/offer-object.json @@ -11,6 +11,12 @@ "uri": "https://example.org/title.png" } }, + "wideTitleImage": { + "kind": "walletobjects#image", + "sourceUri": { + "uri": "https://example.org/wide-title.png" + } + }, "helpUri": { "uri": "https://example.org/help" }, diff --git a/tests/Google/Fixtures/responses/offer-objects.json b/tests/Google/Fixtures/responses/offer-objects.json index 4933fa0..f8e2dac 100644 --- a/tests/Google/Fixtures/responses/offer-objects.json +++ b/tests/Google/Fixtures/responses/offer-objects.json @@ -13,6 +13,12 @@ "uri": "https://example.org/title.png" } }, + "wideTitleImage": { + "kind": "walletobjects#image", + "sourceUri": { + "uri": "https://example.org/wide-title.png" + } + }, "helpUri": { "uri": "https://example.org/help" },