Disable all kinds of tests until upgrades are complete.

This commit is contained in:
James Cole
2019-04-09 15:32:48 +02:00
parent 63070bffc3
commit 97726c3822
114 changed files with 1581 additions and 1205 deletions

View File

@@ -25,8 +25,8 @@ namespace Tests\Unit\Import\Specifics;
use FireflyIII\Import\Specifics\Belfius;
use Tests\TestCase;
use Log;
use Tests\TestCase;
/**
* Class BelfiusTest
@@ -57,20 +57,6 @@ class BelfiusTest extends TestCase
$this->assertEquals($row, $result);
}
/**
* Data that cannot be parsed.
*
* @covers \FireflyIII\Import\Specifics\Belfius
*/
public function testProcessUnknown(): void
{
$row = [0, 1, 2, 3, 4, 'STORE BRUSSEL n/v', 6, 7, 8, 9, 10, 11, 12, 13, 'AANKOOP BANCONTACT CONTACTLESS MET KAART NR 01234 5678 9012 3456 - FOO BAR OP 01/01 00:01 STORE BRUSSEL n/v REF. : 01234567890 VAL. 01-01'];
$parser = new Belfius;
$result = $parser->run($row);
$this->assertEquals($row, $result);
}
/**
* Data with recurring transaction.
*
@@ -78,10 +64,26 @@ class BelfiusTest extends TestCase
*/
public function testProcessRecurringTransaction(): void
{
$row = [0, 1, 2, 3, 4, 'Tom Jones', 6, 7, 8, 9, 10, 11, 12, 13, 'DOORLOPENDE OPDRACHT 12345678 NAAR BE01 1234 5678 9012 Tom Jones My Description REF. : 01234567890 VAL. 01-01'];
$row = [0, 1, 2, 3, 4, 'Tom Jones', 6, 7, 8, 9, 10, 11, 12, 13,
'DOORLOPENDE OPDRACHT 12345678 NAAR BE01 1234 5678 9012 Tom Jones My Description REF. : 01234567890 VAL. 01-01'];
$parser = new Belfius;
$result = $parser->run($row);
$this->assertEquals('My Description', $result[14]);
}
/**
* Data that cannot be parsed.
*
* @covers \FireflyIII\Import\Specifics\Belfius
*/
public function testProcessUnknown(): void
{
$row = [0, 1, 2, 3, 4, 'STORE BRUSSEL n/v', 6, 7, 8, 9, 10, 11, 12, 13,
'AANKOOP BANCONTACT CONTACTLESS MET KAART NR 01234 5678 9012 3456 - FOO BAR OP 01/01 00:01 STORE BRUSSEL n/v REF. : 01234567890 VAL. 01-01'];
$parser = new Belfius;
$result = $parser->run($row);
$this->assertEquals($row, $result);
}
}