diff --git a/src/Generators/AbstractTestsGenerator.php b/src/Generators/AbstractTestsGenerator.php index d4011e3..3afb313 100644 --- a/src/Generators/AbstractTestsGenerator.php +++ b/src/Generators/AbstractTestsGenerator.php @@ -238,7 +238,6 @@ protected function buildRelationsTree($models): array protected function canGenerateUserData(): bool { return $this->classExists('models', 'User') - && $this->isFactoryExists('User') && $this->isMethodExists('User', 'getFields'); }