Completed
Pull Request — master (#160)
by Jason
14:55
created
tests/LocatorTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,10 +5,8 @@
 block discarded – undo
5 5
 use Dynamic\Locator\Location;
6 6
 use Dynamic\Locator\Locator;
7 7
 use Dynamic\Locator\LocatorController;
8
-use Dynamic\Locator\Tests\Base\LocatorBuilderTest;
9 8
 use Dynamic\SilverStripeGeocoder\GoogleGeocoder;
10 9
 use SilverStripe\Core\Config\Config;
11
-use SilverStripe\Dev\FunctionalTest;
12 10
 use SilverStripe\Dev\SapphireTest;
13 11
 
14 12
 /**
Please login to merge, or discard this patch.
tests/LocationTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.