Completed
Pull Request — master (#172)
by Jason
03:37
created
tests/LocationTest.php 2 patches
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.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Dynamic\Locator\Tests;
4 4
 
5
-use Dynamic\SilverStripeGeocoder\GoogleGeocoder;
6
-use SilverStripe\Core\Config\Config;
7 5
 use SilverStripe\Dev\SapphireTest;
8 6
 use Dynamic\Locator\Location;
9 7
 use SilverStripe\Security\Member;
Please login to merge, or discard this patch.
tests/LocationCategoryTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
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 6
 use SilverStripe\Dev\SapphireTest;
9 7
 use SilverStripe\Forms\FieldList;
10 8
 use SilverStripe\Security\Member;
Please login to merge, or discard this patch.