test backend seed assets
This commit is contained in:
parent
01434a9b2d
commit
6c14e193e0
1 changed files with 10 additions and 0 deletions
|
|
@ -13,6 +13,16 @@ class DemoSeedDataTest extends TestCase
|
|||
{
|
||||
use RefreshDatabase;
|
||||
|
||||
public function testElementSeederDoesNotReadFrontendAssets(): void
|
||||
{
|
||||
$seederSource = file_get_contents(
|
||||
base_path('database/seeders/ElementSeeder.php'),
|
||||
);
|
||||
|
||||
$this->assertIsString($seederSource);
|
||||
$this->assertStringNotContainsString('../frontend/', $seederSource);
|
||||
}
|
||||
|
||||
public function testBaderechRootElementHasDemoChildren(): void
|
||||
{
|
||||
Storage::fake('public');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue