mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 15:39:50 +00:00
Disable all tests that may need some work in 4.8.0
This commit is contained in:
@@ -500,7 +500,7 @@ class ImportTransactionTest extends TestCase
|
||||
{
|
||||
$importTransaction = new ImportTransaction;
|
||||
$importTransaction->amount = '2.99';
|
||||
$importTransaction->modifiers['rabo-debit-credit'] = 'D';
|
||||
$importTransaction->modifiers['generic-debit-credit'] = 'D';
|
||||
try {
|
||||
$this->assertEquals('-2.99', $importTransaction->calculateAmount());
|
||||
} catch (FireflyException $e) {
|
||||
@@ -565,7 +565,7 @@ class ImportTransactionTest extends TestCase
|
||||
public function testDebitCredit(): void
|
||||
{
|
||||
$columnValue = new ColumnValue;
|
||||
$columnValue->setRole('ing-debit-credit');
|
||||
$columnValue->setRole('generic-debit-credit');
|
||||
$columnValue->setValue('Af');
|
||||
|
||||
$importTransaction = new ImportTransaction;
|
||||
@@ -576,7 +576,7 @@ class ImportTransactionTest extends TestCase
|
||||
$this->assertTrue(false, $e->getMessage());
|
||||
}
|
||||
$this->assertCount(1, $importTransaction->modifiers);
|
||||
$this->assertEquals('Af', $importTransaction->modifiers['ing-debit-credit']);
|
||||
$this->assertEquals('Af', $importTransaction->modifiers['generic-debit-credit']);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -637,7 +637,7 @@ class ImportTransactionTest extends TestCase
|
||||
{
|
||||
$importTransaction = new ImportTransaction;
|
||||
$importTransaction->foreignAmount = '6.77';
|
||||
$importTransaction->modifiers['rabo-debit-credit'] = 'D';
|
||||
$importTransaction->modifiers['generic-debit-credit'] = 'D';
|
||||
$this->assertEquals('-6.77', $importTransaction->calculateForeignAmount());
|
||||
}
|
||||
|
||||
@@ -650,7 +650,7 @@ class ImportTransactionTest extends TestCase
|
||||
{
|
||||
$importTransaction = new ImportTransaction;
|
||||
$importTransaction->foreignAmount = '-5.77';
|
||||
$importTransaction->modifiers['rabo-debit-credit'] = 'C';
|
||||
$importTransaction->modifiers['generic-debit-credit'] = 'C';
|
||||
$this->assertEquals('5.77', $importTransaction->calculateForeignAmount());
|
||||
}
|
||||
|
||||
@@ -694,7 +694,7 @@ class ImportTransactionTest extends TestCase
|
||||
public function testMetaValue(): void
|
||||
{
|
||||
$columnValue = new ColumnValue;
|
||||
$columnValue->setRole('date-process');
|
||||
$columnValue->setRole('date_process');
|
||||
$columnValue->setValue('2018-01-01');
|
||||
|
||||
$importTransaction = new ImportTransaction;
|
||||
@@ -705,7 +705,7 @@ class ImportTransactionTest extends TestCase
|
||||
$this->assertTrue(false, $e->getMessage());
|
||||
}
|
||||
$this->assertCount(1, $importTransaction->meta);
|
||||
$this->assertEquals($columnValue->getValue(), $importTransaction->meta['date-process']);
|
||||
$this->assertEquals($columnValue->getValue(), $importTransaction->meta['date_process']);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user