mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Improve test results.
This commit is contained in:
@@ -225,7 +225,7 @@ abstract class TestCase extends BaseTestCase
|
||||
->where('accounts.user_id', $this->user()->id)
|
||||
->where('account_types.type', $type)
|
||||
->inRandomOrder()->take(1);
|
||||
$result = $query->first();
|
||||
$result = $query->first(['accounts.*']);
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user