Skip to content

check for existence of geos extension#16

Open
geertijewski wants to merge 1 commit intominube:masterfrom
geertijewski:issue-15
Open

check for existence of geos extension#16
geertijewski wants to merge 1 commit intominube:masterfrom
geertijewski:issue-15

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