Update test code.

This commit is contained in:
James Cole
2018-05-11 19:58:10 +02:00
parent 9bb4df4cc3
commit 4d6bc55723
174 changed files with 2138 additions and 940 deletions

View File

@@ -33,7 +33,7 @@ class AmountCreditTest extends TestCase
/**
* @covers \FireflyIII\Import\Converter\AmountCredit::convert()
*/
public function testConvert()
public function testConvert(): void
{
$values = [
'0' => '0',
@@ -161,7 +161,7 @@ class AmountCreditTest extends TestCase
/**
* @covers \FireflyIII\Import\Converter\AmountCredit::convert()
*/
public function testConvertNull()
public function testConvertNull(): void
{
$converter = new AmountCredit;
$result = $converter->convert(null);

View File

@@ -33,7 +33,7 @@ class AmountDebitTest extends TestCase
/**
* @covers \FireflyIII\Import\Converter\AmountDebit::convert()
*/
public function testConvert()
public function testConvert(): void
{
$values = [
'0' => '0',
@@ -161,7 +161,7 @@ class AmountDebitTest extends TestCase
/**
* @covers \FireflyIII\Import\Converter\AmountDebit::convert()
*/
public function testConvertNull()
public function testConvertNull(): void
{
$converter = new AmountDebit;
$result = $converter->convert(null);

View File

@@ -34,7 +34,7 @@ class AmountTest extends TestCase
* @covers \FireflyIII\Import\Converter\Amount::convert()
* @covers \FireflyIII\Import\Converter\Amount::stripAmount()
*/
public function testConvert()
public function testConvert(): void
{
$values = [
'0' => '0',
@@ -167,7 +167,7 @@ class AmountTest extends TestCase
/**
* @covers \FireflyIII\Import\Converter\Amount::convert()
*/
public function testConvertNull()
public function testConvertNull(): void
{
$converter = new Amount;
$result = $converter->convert(null);

View File

@@ -34,7 +34,7 @@ class INGDebitCreditTest extends TestCase
/**
* @covers \FireflyIII\Import\Converter\INGDebitCredit::convert()
*/
public function testConvertAf()
public function testConvertAf(): void
{
$converter = new INGDebitCredit;
$result = $converter->convert('Af');
@@ -44,7 +44,7 @@ class INGDebitCreditTest extends TestCase
/**
* @covers \FireflyIII\Import\Converter\INGDebitCredit::convert()
*/
public function testConvertAnything()
public function testConvertAnything(): void
{
$converter = new INGDebitCredit;
$result = $converter->convert('9083jkdkj');
@@ -54,7 +54,7 @@ class INGDebitCreditTest extends TestCase
/**
* @covers \FireflyIII\Import\Converter\INGDebitCredit::convert()
*/
public function testConvertBij()
public function testConvertBij(): void
{
$converter = new INGDebitCredit;
$result = $converter->convert('Bij');