* Page builder foundation * Form builder document type * Dashboard builder document type * Report builder document type * Menu builder document type * Email builder document type * Query builder document type * Workflow builder document type * Reusable component registry * Form-field registry * Dashboard-widget registry * Hero, heading, and rich-content components * JSON document schema * Saved builder documents * Draft, published, and archived states * Document version history * Reusable builder templates * Component rendering service * Extensible BuilderComponent contract * Authenticated Builder REST endpoints * Administration navigation * Builder permissions * Module registration and test
14 lines
424 B
PHP
14 lines
424 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'));
|
|
}
|
|
}
|