mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-11 04:08:12 +00:00
Fixed some test coverage.
This commit is contained in:
@@ -36,6 +36,17 @@ class AmountSupportTest extends TestCase
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Support\Amount::format
|
||||
* @covers FireflyIII\Support\Amount::getCurrencySymbol
|
||||
*/
|
||||
public function testFormat()
|
||||
{
|
||||
$amount = '123';
|
||||
$result = $this->object->format($amount, true);
|
||||
$this->assertTrue(str_contains($result, $amount));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Support\Amount::formatJournal
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user