17 lines
509 B
PHP
17 lines
509 B
PHP
<?php
|
|
|
|
namespace Tests\Feature;
|
|
|
|
use Tests\TestCase;
|
|
|
|
class SimulatorReviewMessagesTest extends TestCase
|
|
{
|
|
public function test_missing_api_route_has_a_portuguese_message_without_changing_the_status(): void
|
|
{
|
|
config(['app.debug' => false]);
|
|
$this->getJson('/api/v1/synthetic-qa-route-not-installed')->assertNotFound()
|
|
->assertJsonPath('message', 'O registo não foi encontrado ou não está acessível nesta conta.')
|
|
->assertHeader('X-Correlation-ID');
|
|
}
|
|
}
|