From 61782be76604d597cef55676a0fb851e0ba56a80 Mon Sep 17 00:00:00 2001 From: eparusov Date: Thu, 12 Dec 2024 09:44:53 +0300 Subject: [PATCH] #97: Use model test states in tests generator --- src/Generators/AbstractTestsGenerator.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Generators/AbstractTestsGenerator.php b/src/Generators/AbstractTestsGenerator.php index d4011e37..3afb313a 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'); }