mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-22 08:56:39 -06:00
Update test code.
This commit is contained in:
parent
c24cac68f6
commit
ce236284f4
@ -77,6 +77,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
* @property string $amount
|
||||
* @property string $foreign_amount
|
||||
* @property TransactionJournal $transactionJournal
|
||||
* @property Account $account
|
||||
*/
|
||||
class Transaction extends Model
|
||||
{
|
||||
|
@ -30,12 +30,9 @@
|
||||
<file>app/Http/breadcrumbs.php</file>
|
||||
</exclude>
|
||||
</whitelist>
|
||||
<blacklist>
|
||||
<directory>vendor/</directory>
|
||||
</blacklist>
|
||||
</filter>
|
||||
<logging>
|
||||
<log type="coverage-clover" target="./storage/build/clover-specific.xml" charset="UTF-8"/>
|
||||
<log type="coverage-clover" target="./storage/build/clover-specific.xml" />
|
||||
</logging>
|
||||
<php>
|
||||
<env name="APP_ENV" value="testing"/>
|
||||
|
@ -30,12 +30,9 @@
|
||||
<file>app/Http/breadcrumbs.php</file>
|
||||
</exclude>
|
||||
</whitelist>
|
||||
<blacklist>
|
||||
<directory>vendor/</directory>
|
||||
</blacklist>
|
||||
</filter>
|
||||
<logging>
|
||||
<log type="coverage-clover" target="./storage/build/clover-all.xml" charset="UTF-8"/>
|
||||
<log type="coverage-clover" target="./storage/build/clover-all.xml" />
|
||||
</logging>
|
||||
<php>
|
||||
<env name="APP_ENV" value="testing"/>
|
||||
|
@ -36,7 +36,7 @@ class AmountCreditTest extends TestCase
|
||||
public function testConvert(): void
|
||||
{
|
||||
$values = [
|
||||
'0' => '0',
|
||||
'0' => '0.000000000000',
|
||||
'0.0' => '0',
|
||||
'0.1' => '0.1',
|
||||
'.2' => '0.2',
|
||||
|
Loading…
Reference in New Issue
Block a user