diff --git a/tests/Generator/ExtendedCommandsTest.php b/tests/Generator/ExtendedCommandsTest.php index 06317ee..2678e2d 100644 --- a/tests/Generator/ExtendedCommandsTest.php +++ b/tests/Generator/ExtendedCommandsTest.php @@ -5,6 +5,10 @@ use Lunarstorm\LaravelDDD\Support\Domain; it('can generate extended objects', function ($type, $objectName, $domainPath, $domainRoot) { + if (in_array($type, ['enum'])) { + skipOnLaravelVersionsBelow('11'); + } + Config::set('ddd.domain_path', $domainPath); Config::set('ddd.domain_namespace', $domainRoot);