mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
test groups refactoring
This commit is contained in:
25
tests/Domain/Pages/PagesTest.php
Normal file
25
tests/Domain/Pages/PagesTest.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace Tests\Domain\Pages;
|
||||
|
||||
|
||||
use Domain\SetupWizard\Services\SetupService;
|
||||
use Tests\TestCase;
|
||||
|
||||
class PagesTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @test
|
||||
*/
|
||||
public function it_get_legal_page()
|
||||
{
|
||||
resolve(SetupService::class)->seed_default_pages();
|
||||
|
||||
$this->getJson('/api/page/terms-of-service')
|
||||
->assertStatus(200)
|
||||
->assertJsonFragment([
|
||||
'title' => 'Terms of Service',
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user