23 lines
546 B
PHP
23 lines
546 B
PHP
<?php
|
|
|
|
namespace Tests\Feature\Services;
|
|
|
|
use App\Services\NominatimService;
|
|
use Illuminate\Foundation\Testing\RefreshDatabase;
|
|
use Illuminate\Foundation\Testing\WithFaker;
|
|
use Tests\TestCase;
|
|
|
|
class NominatimTest extends TestCase
|
|
{
|
|
use RefreshDatabase, WithFaker;
|
|
/**
|
|
* A basic feature test example.
|
|
*/
|
|
public function test_nominatim_service_return_0_if_the_environment_is_not_production(): void
|
|
{
|
|
$wayId = (new NominatimService())->get_way_id_from_nominatim();
|
|
|
|
$this->assertEquals(0, $wayId);
|
|
}
|
|
}
|