Fix test coverage. [skip ci]

This commit is contained in:
James Cole
2019-02-02 09:53:19 +01:00
parent 384e64d94d
commit 1d73ff7c13
4 changed files with 37 additions and 27 deletions

View File

@@ -559,7 +559,7 @@ class AccountFactoryTest extends TestCase
/** @var AccountMeta $meta */
$currencyId = $account->accountMeta()->where('name', 'currency_id')->first();
$this->assertNotNull($currencyId);
$this->assertEquals($currency->id, $currencyId->data);
$this->assertEquals((int)$currency->id, (int)$currencyId->data);
}
/**