mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 07:38:29 +00:00
Some generic code refactoring.
This commit is contained in:
@@ -49,17 +49,6 @@ class AttachmentHelperTest extends TestCase
|
||||
Log::info(sprintf('Now in %s.', get_class($this)));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers \FireflyIII\Helpers\Attachments\AttachmentHelper
|
||||
*/
|
||||
public function testGetAttachmentLocation(): void
|
||||
{
|
||||
$attachment = Attachment::first();
|
||||
$helper = new AttachmentHelper;
|
||||
$path = $path = sprintf('%sat-%d.data', DIRECTORY_SEPARATOR, (int)$attachment->id);
|
||||
$this->assertEquals($helper->getAttachmentLocation($attachment), $path);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test invalid mime thing
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user