Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chiiya committed Sep 18, 2024
1 parent 2449b13 commit 2eec772
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion JUSTFILE
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
6 changes: 6 additions & 0 deletions tests/Google/Fixtures/responses/offer-object.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
6 changes: 6 additions & 0 deletions tests/Google/Fixtures/responses/offer-objects.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit 2eec772

Please sign in to comment.