gpslab / geoip2

A Symfony Bundle for the Maxmind GeoIP2 API
https://www.maxmind.com/
MIT License
54 stars 12 forks source link

Fix tests for Windows #57

Closed peter-gribanov closed 4 years ago

peter-gribanov commented 4 years ago
1) GpsLab\Bundle\GeoIP2Bundle\Tests\DependencyInjection\GpsLabGeoIP2ExtensionTest::testLoad with data set #0 (null)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'/tmp/GeoLite2-ASN.mmdb'
+'C:\Users\PGRIBA~1\AppData\Local\Temp/GeoLite2-ASN.mmdb'

2) GpsLab\Bundle\GeoIP2Bundle\Tests\DependencyInjection\GpsLabGeoIP2ExtensionTest::testLoad with data set #2 (false)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'/tmp/GeoLite2-ASN.mmdb'
+'C:\Users\PGRIBA~1\AppData\Local\Temp/GeoLite2-ASN.mmdb'

3) GpsLab\Bundle\GeoIP2Bundle\Tests\Downloader\MaxMindDownloaderTest::testNotFoundDatabase
Failed asserting that 'C:\Users\PGRIBA~1\AppData\Local\Temp/5e7b08f99e6b23.65897103_GeoLite2.tar.gz' matches PCRE pattern "#^C:\Users\PGRIBA~1\AppData\Local\Temp/[\da-f]+\.\d+_GeoLite2\.tar\.gz$#".

4) GpsLab\Bundle\GeoIP2Bundle\Tests\Downloader\MaxMindDownloaderTest::testDownload
Failed asserting that 'C:\Users\PGRIBA~1\AppData\Local\Temp/5e7b08f9a228b2.61970509_GeoLite2.tar.gz' matches PCRE pattern "#^C:\Users\PGRIBA~1\AppData\Local\Temp/[\da-f]+\.\d+_GeoLite2\.tar\.gz$#".
coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling f8a12635a6a0fc7100ae46c98321c3080041baa2 on peter-gribanov:windows_tests into dc72877eded71646bd9a4bf4e9f92588fddb68d8 on gpslab:master.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling f8a12635a6a0fc7100ae46c98321c3080041baa2 on peter-gribanov:windows_tests into dc72877eded71646bd9a4bf4e9f92588fddb68d8 on gpslab:master.