refactor: Divi library adapters with manifest and submit-layout mirror
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -26,4 +26,10 @@ final class DiviRolesTest extends TestCase
|
||||
// Unit tests have no et_pb_is_allowed(): a missing Divi function never means "allowed".
|
||||
self::assertFalse((new DiviRoles())->allows('divi_library'));
|
||||
}
|
||||
|
||||
public function testIsTheRegisteredRolesAdapter(): void
|
||||
{
|
||||
self::assertContains(DiviRoles::class, \LIT\MCP\Integrations\Divi\Release\DiviAdapters::CLASSES);
|
||||
self::assertSame('et_pb_is_allowed()', DiviRoles::manifest()->calls[0]->label());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user