Compare commits

...

2 Commits

Author SHA1 Message Date
0f6a3fed2b - Updating composer to allow version 2 or 3
- Update postcode in tests as the old one stopped working
2025-05-08 17:19:40 +01:00
brabli
8f52f72679 Update postcode in tests as the old one stopped working for some reason 2025-03-12 14:29:52 +00:00
3 changed files with 7 additions and 3 deletions

View File

@@ -2,6 +2,10 @@
## [x.x.x] xxxx-xx-xx
## [2.0.2] 2025-05-08
- Updating composer to allow `doctrine/orm` version 2 or 3
- Update postcode in tests as the old one stopped working
## [2.0.1] 2024-10-09
- Fix bug that caused isGeocoded to return false if only one of the coordinates was zero

View File

@@ -19,7 +19,7 @@
"symfony/dependency-injection": "^7.1",
"symfony/framework-bundle": "^7.1",
"symfony/yaml": "^7.1",
"doctrine/orm": "^2.13"
"doctrine/orm": "^2|^3"
},
"require-dev": {

View File

@@ -18,8 +18,8 @@ use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
*/
final class GeocoderTest extends KernelTestCase
{
// Buckingham Palace
private const string POSTCODE = 'SW1A 1AA';
// Yes this is a real postcode
private const string POSTCODE = 'ABC 123';
private Geocoder $geocoder;