@@ -33,7 +33,7 @@ |
||
33 | 33 | public function testGetCoords() |
34 | 34 | { |
35 | 35 | $location = $this->objFromFixture('Dynamic\\Locator\\Location', 'dynamic'); |
36 | - $coords = ((int)$location->Lat != 0 && (int)$location->Lng != 0) ? 'true' : 'false'; |
|
36 | + $coords = ((int) $location->Lat != 0 && (int) $location->Lng != 0) ? 'true' : 'false'; |
|
37 | 37 | $this->assertEquals($coords, $location->getCoords()); |
38 | 38 | } |
39 | 39 |
@@ -2,9 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Dynamic\Locator\Tests; |
4 | 4 | |
5 | -use Dynamic\SilverStripeGeocoder\GoogleGeocoder; |
|
6 | -use SilverStripe\Core\Config\Config; |
|
7 | -use SilverStripe\Dev\SapphireTest; |
|
8 | 5 | use Dynamic\Locator\Location; |
9 | 6 | use SilverStripe\Security\Member; |
10 | 7 |
@@ -3,9 +3,6 @@ |
||
3 | 3 | namespace Dynamic\Locator\Tests; |
4 | 4 | |
5 | 5 | use Dynamic\Locator\LocationCategory; |
6 | -use Dynamic\SilverStripeGeocoder\GoogleGeocoder; |
|
7 | -use SilverStripe\Core\Config\Config; |
|
8 | -use SilverStripe\Dev\SapphireTest; |
|
9 | 6 | use SilverStripe\Forms\FieldList; |
10 | 7 | use SilverStripe\Security\Member; |
11 | 8 |