mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-19 02:52:44 +00:00
Code cleanup.
This commit is contained in:
@@ -45,7 +45,7 @@ class AttachmentHelperTest extends TestCase
|
||||
{
|
||||
$attachment = Attachment::first();
|
||||
$helper = new AttachmentHelper;
|
||||
$path = $path = sprintf('%s%sat-%d.data', storage_path('upload'), DIRECTORY_SEPARATOR, intval($attachment->id));
|
||||
$path = $path = sprintf('%s%sat-%d.data', storage_path('upload'), DIRECTORY_SEPARATOR, (int)$attachment->id);
|
||||
$this->assertEquals($helper->getAttachmentLocation($attachment), $path);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user