diff --git a/tests/Feature/GoogleDistanceServiceProviderTest.php b/tests/Feature/GoogleDistanceServiceProviderTest.php new file mode 100644 index 0000000..b166579 --- /dev/null +++ b/tests/Feature/GoogleDistanceServiceProviderTest.php @@ -0,0 +1,16 @@ +assertInstanceOf(ServiceProvider::class, new GoogleDistanceServiceProvider($this->app)); + } +} diff --git a/tests/TestCase.php b/tests/TestCase.php index 901b140..82801d0 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -20,5 +20,6 @@ public function getPackageProviders($app) public function getEnvironmentSetUp($app) { + $app['config']->set('google-distance.api_key', 'foo'); } }