Update
This commit is contained in:
11
tests/Feature/BlockComponentDebugTest.php
Normal file
11
tests/Feature/BlockComponentDebugTest.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use cPad\Plugins\Blocks\Components\Block;
|
||||
|
||||
it('constructs the block component with debug mode enabled', function () {
|
||||
config()->set('app.debug', true);
|
||||
|
||||
$component = new Block('sample-block');
|
||||
|
||||
expect($component->debug)->toBeTrue();
|
||||
});
|
||||
Reference in New Issue
Block a user