create test directory

This commit is contained in:
2024-03-02 11:16:57 +03:30
parent f90afbb406
commit 908c6c8024
4 changed files with 76 additions and 1 deletions

View 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);
}
}