17 lines
431 B
PHP
17 lines
431 B
PHP
<?php
|
|
|
|
namespace Modules\Builder\Tests\Feature;
|
|
|
|
use Modules\Builder\Services\BuilderRegistry;
|
|
use Tests\TestCase;
|
|
|
|
final class BuilderModuleTest extends TestCase
|
|
{
|
|
public function test_builder_module_registers_components(): void
|
|
{
|
|
$components = app(BuilderRegistry::class)->components();
|
|
$this->assertNotEmpty($components);
|
|
$this->assertContains('hero', array_column($components, 'type'));
|
|
}
|
|
}
|