You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
708 B
PHP
38 lines
708 B
PHP
<?php
|
|
|
|
namespace Ae3\LaravelGeoLayer\Tests;
|
|
|
|
use Ae3\LaravelGeoLayer\app\Providers\LaravelGeoServiceProvider;
|
|
use Orchestra\Testbench\TestCase as OrchestraTestCase;
|
|
|
|
class TestCase extends OrchestraTestCase
|
|
{
|
|
/**
|
|
* @return void
|
|
*/
|
|
public function setUp(): void
|
|
{
|
|
parent::setUp();
|
|
}
|
|
|
|
/**
|
|
* @param $app
|
|
* @return string[]
|
|
*/
|
|
protected function getPackageProviders($app): array
|
|
{
|
|
return [
|
|
LaravelGeoServiceProvider::class,
|
|
];
|
|
}
|
|
|
|
/**
|
|
* @param $app
|
|
* @return void
|
|
*/
|
|
protected function getEnvironmentSetUp($app)
|
|
{
|
|
$app['config']->set('laravel-geo-layer.key', 'sua_chave_api');
|
|
}
|
|
|
|
} |