Skip to content

Commit a606e60

Browse files
committed
add config test
1 parent 0980245 commit a606e60

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/Geocoder/Tests/GeocoderServiceProviderTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,19 @@
1111

1212
namespace Geocoder\Tests;
1313

14+
use Config;
15+
1416
/**
1517
* @author Antoine Corcy <[email protected]>
1618
*/
1719
class GeocoderServiceProviderTest extends TestCase
1820
{
21+
public function testConfig()
22+
{
23+
$this->assertSame('FreeGeoIpProvider', Config::get('geocoder-laravel::provider'));
24+
$this->assertSame('CurlHttpAdapter', Config::get('geocoder-laravel::adapter'));
25+
}
26+
1927
public function testLoadedProviders()
2028
{
2129
$loadedProviders = $this->app->getLoadedProviders();

0 commit comments

Comments
 (0)