mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-17 07:08:19 +00:00
Update tests.
This commit is contained in:
@@ -138,8 +138,8 @@ class AttachmentControllerTest extends TestCase
|
||||
$this->session(['attachments.edit.uri' => 'http://localhost']);
|
||||
$data = [
|
||||
'title' => 'Some updated title ' . rand(1000, 9999),
|
||||
'notes' => '',
|
||||
'description' => '',
|
||||
'notes' => 'A',
|
||||
'description' => 'B',
|
||||
];
|
||||
|
||||
$this->be($this->user());
|
||||
|
||||
@@ -24,7 +24,6 @@ use FireflyIII\Models\Transaction;
|
||||
use FireflyIII\Models\TransactionType;
|
||||
use FireflyIII\Repositories\Budget\BudgetRepositoryInterface;
|
||||
use Illuminate\Support\Collection;
|
||||
use Log;
|
||||
use Tests\TestCase;
|
||||
|
||||
/**
|
||||
@@ -104,8 +103,6 @@ class BudgetReportControllerTest extends TestCase
|
||||
$transaction->amount = '-100';
|
||||
$transaction->opposing_account_id = 8;
|
||||
|
||||
Log::debug('Transaction', $transaction->toArray());
|
||||
|
||||
$budgetRepos->shouldReceive('getAllBudgetLimits')->andReturn(new Collection([$one, $two]))->once();
|
||||
|
||||
|
||||
|
||||
@@ -176,7 +176,7 @@ class RuleGroupControllerTest extends TestCase
|
||||
$repository->shouldReceive('find')->andReturn(new RuleGroup);
|
||||
$data = [
|
||||
'title' => 'A',
|
||||
'description' => '',
|
||||
'description' => 'No description',
|
||||
];
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user