This commit is contained in:
James Cole
2018-09-27 05:57:06 +02:00
parent e0152d3df4
commit 6c4f967c39
3 changed files with 3 additions and 3 deletions

View File

@@ -574,7 +574,7 @@ class AccountFactoryTest extends TestCase
public function testFindOrCreate(): void
{
/** @var Account $account */
$account = $this->user()->accounts()->inRandomOrder()->first();
$account = $this->getRandomAsset();
/** @var AccountFactory $factory */
$factory = app(AccountFactory::class);
$factory->setUser($this->user());