Update test code.

This commit is contained in:
James Cole 2018-07-01 09:52:56 +02:00
parent c24cac68f6
commit ce236284f4
4 changed files with 4 additions and 9 deletions

View File

@ -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
{

View File

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

View File

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

View File

@ -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',