test groups refactoring

This commit is contained in:
Peter Papp
2021-07-18 16:53:12 +02:00
parent 18150cd920
commit a1778eab52
83 changed files with 1482 additions and 1421 deletions

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