Skip to content

Commit

Permalink
no more test for the time being
Browse files Browse the repository at this point in the history
  • Loading branch information
iranianpep committed Feb 9, 2018
1 parent 4219dcd commit 8b69e95
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tests/Geocoder/GeocoderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,18 @@ public function testGetLatLngUnknownAddress()
// $this->assertFalse((new Geocoder())->isAddressValid(self::UNKNOWN_ADDRESS));
// }

public function testHasMultipleResults()
{
$geocoder = new Geocoder();
$geocoder->geocode(self::VALID_ADDRESS);
$this->assertFalse($geocoder->hasMultipleResults());

$geocoder->geocode(self::VALID_ADDRESS_MULTIPLE_RESULT);
$this->assertTrue($geocoder->hasMultipleResults());

$geocoder->geocode(self::UNKNOWN_ADDRESS);
$this->assertFalse($geocoder->hasMultipleResults());
}
// public function testHasMultipleResults()
// {
// $geocoder = new Geocoder();
// $geocoder->geocode(self::VALID_ADDRESS);
// $this->assertFalse($geocoder->hasMultipleResults());
//
// $geocoder->geocode(self::VALID_ADDRESS_MULTIPLE_RESULT);
// $this->assertTrue($geocoder->hasMultipleResults());
//
// $geocoder->geocode(self::UNKNOWN_ADDRESS);
// $this->assertFalse($geocoder->hasMultipleResults());
// }

private function getExpectedInvalidKeyData()
{
Expand Down

0 comments on commit 8b69e95

Please sign in to comment.