Fixed some test coverage.

This commit is contained in:
James Cole
2015-06-07 10:28:26 +02:00
parent a27471ae55
commit 0be5b27d34
5 changed files with 74 additions and 2 deletions

View File

@@ -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
*/