diff --git a/tests/pest/Architecture/ArchitectureTest.php b/tests/pest/Architecture/ArchitectureTest.php index 339158bc..21316a08 100644 --- a/tests/pest/Architecture/ArchitectureTest.php +++ b/tests/pest/Architecture/ArchitectureTest.php @@ -4,6 +4,10 @@ * Tests the architecture of the plugin. */ -test('Source code does not contain any “dump or die” statements') +test('Source code does not contain any `Craft::dd` statements') + ->expect(Craft::class) + ->not->toUse(['dd']); + +test('Source code does not contain any `var_dump` or `die` statements') ->expect(['var_dump', 'die']) ->not->toBeUsed();