create test directory
This commit is contained in:
22
tests/Feature/Services/NominatimTest.php
Normal file
22
tests/Feature/Services/NominatimTest.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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($wayId, 0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user