Skip to content

Commit

Permalink
Merge pull request #124 from RonasIT/97-use-model-test-states-in-test…
Browse files Browse the repository at this point in the history
…s-generator

#97: Use model test states in tests generator
  • Loading branch information
DenTray authored Dec 12, 2024
2 parents 06a0bd1 + 61782be commit 100fe1d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Generators/AbstractTestsGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

Expand Down

0 comments on commit 100fe1d

Please sign in to comment.