20 lines
430 B
PHP
20 lines
430 B
PHP
<?php
|
|
|
|
namespace Tests\Unit;
|
|
|
|
use Tests\TestCase;
|
|
|
|
class LivewireAssetsPublishingTest extends TestCase
|
|
{
|
|
public function test_dockerfile_publishes_livewire_assets(): void
|
|
{
|
|
$dockerfile = file_get_contents(base_path('Dockerfile'));
|
|
|
|
$this->assertNotFalse($dockerfile);
|
|
$this->assertStringContainsString(
|
|
'vendor:publish --tag=livewire:assets',
|
|
$dockerfile
|
|
);
|
|
}
|
|
}
|