Make sure GeoLite2 db file is always read from the filesystem befor etrying to operate on it

This commit is contained in:
Alejandro Celaya
2024-03-09 09:30:05 +01:00
parent e244b2dc51
commit 5427152f15
4 changed files with 14 additions and 6 deletions

View File

@@ -187,7 +187,7 @@ class GeolocationDbUpdaterTest extends TestCase
return new GeolocationDbUpdater(
$this->dbUpdater,
$this->geoLiteDbReader,
fn () => $this->geoLiteDbReader,
$locker,
$options ?? new TrackingOptions(),
);