Skip to content

Commit 100fe1d

Browse files
authored
Merge pull request #124 from RonasIT/97-use-model-test-states-in-tests-generator
#97: Use model test states in tests generator
2 parents 06a0bd1 + 61782be commit 100fe1d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Generators/AbstractTestsGenerator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ protected function buildRelationsTree($models): array
238238
protected function canGenerateUserData(): bool
239239
{
240240
return $this->classExists('models', 'User')
241-
&& $this->isFactoryExists('User')
242241
&& $this->isMethodExists('User', 'getFields');
243242
}
244243

0 commit comments

Comments
 (0)