Create failing test

This commit is contained in:
Brabli
2022-07-21 14:48:27 +01:00
parent e87294e96f
commit 17e549c231

View File

@@ -75,6 +75,13 @@ class MappableTraitTest extends TestCase
$this->assertTrue($this->obj->isGeocoded());
}
public function testIsGeocodeReturnsTrueIfLatAndLonAreBothZero(): void
{
$this->obj->setLatitude(0.000);
$this->obj->setLongitude(0.000);
$this->assertTrue($this->obj->isGeocoded());
}
private function getTraitObject(): MappableInterface
{
return new class implements MappableInterface