mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-05 18:23:48 +00:00
23 lines
459 B
PHP
23 lines
459 B
PHP
<?php
|
|
namespace Tests\Domain\Pages;
|
|
|
|
use Tests\TestCase;
|
|
use Domain\Pages\Actions\SeedDefaultPagesAction;
|
|
|
|
class PagesTest extends TestCase
|
|
{
|
|
/**
|
|
* @test
|
|
*/
|
|
public function it_get_legal_page()
|
|
{
|
|
resolve(SeedDefaultPagesAction::class)();
|
|
|
|
$this->getJson('/api/page/terms-of-service')
|
|
->assertStatus(200)
|
|
->assertJsonFragment([
|
|
'title' => 'Terms of Service',
|
|
]);
|
|
}
|
|
}
|