mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-16 14:48:11 +00:00
Fix for #1728
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user