mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 07:38:29 +00:00
Improve test coverage.
This commit is contained in:
@@ -53,7 +53,7 @@ class AttachmentTransformerTest extends TestCase
|
||||
public function testBasic(): void
|
||||
{
|
||||
$repository = $this->mock(AttachmentRepositoryInterface::class);
|
||||
$md5 = md5('hello' . random_int(1, 10000));
|
||||
$md5 = md5('hello' . $this->randomInt());
|
||||
$attachment = Attachment::create(
|
||||
[
|
||||
'user_id' => $this->user()->id,
|
||||
|
||||
Reference in New Issue
Block a user