Skip to content

Commit

Permalink
Merge pull request #30 from utopia-php/fix-tests
Browse files Browse the repository at this point in the history
Fix always-passing tests
  • Loading branch information
eldadfux authored Feb 5, 2024
2 parents e00afb3 + ae040bf commit 9044558
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ before_install:
- sudo service docker start
- docker --version
- docker buildx create --use

install:
- docker-compose build
- docker-compose up -d

script:
- docker-compose up
- docker compose exec php8 /code/vendor/bin/phpunit --configuration /code/phpunit.xml $@
2 changes: 1 addition & 1 deletion Dockerfile-php8
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ COPY ./psalm.xml /code/psalm.xml

RUN echo extension=imagick.so >> /usr/local/etc/php/conf.d/imagick.ini

CMD [ "sh", "-c", "/code/vendor/bin/phpunit --verbose --configuration /code/phpunit.xml && /code/vendor/bin/psalm --show-info=true" ]
CMD [ "tail", "-f", "/dev/null" ]
Binary file modified tests/resources/resize/C.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/resources/resize/N.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/resources/resize/S.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/resources/resize/W.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9044558

Please sign in to comment.