16 lines
423 B
PHP
16 lines
423 B
PHP
<?php
|
|
|
|
use function Pest\Laravel\get;
|
|
|
|
it('renders localized frontend links on locale prefixed pages', function () {
|
|
get('/sl')
|
|
->assertSuccessful()
|
|
->assertSee('/sl/contact', false)
|
|
->assertSee('/sl', false);
|
|
});
|
|
|
|
it('renders the localized terms page without falling through slug routing', function () {
|
|
get('/sl/terms')
|
|
->assertSuccessful()
|
|
->assertSee('Terms', false);
|
|
}); |