Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check for existence of geos extension #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

geertijewski
Copy link

Closes #15

@geertijewski geertijewski marked this pull request as ready for review April 3, 2020 13:10
@geertijewski
Copy link
Author

Since the unit tests use fixed paths, I did not run/complete them. To make them at least a bit useful I did:

> 
sed -i 's|/media/ana/Datos/geo-timezone/data|data|' tests/GeoTimeZone/UpdaterDataTest.php

My test procedure was as follows:

> 
> phpenmod geos
> vendor/bin/phpunit .
... runs ...
> phpdismod geos
> vendor/bin/phpunit .
Required dependency geos extension not installed
>  phpenmod geos
> vendor/bin/phpunit .
... runs ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error out if the php-geos extension is not loaded
1 participant