Disable amount debit and credit tests.

This commit is contained in:
James Cole
2018-07-01 12:34:58 +02:00
parent 99b2858863
commit 8e38f5c2c0
3 changed files with 4 additions and 4 deletions

View File

@@ -39,8 +39,8 @@ class AddTagTest extends TestCase
*/
public function testActExistingTag(): void
{
$tag = Tag::inRandomOrder()->whereNull('deleted_at')->first();
$journal = TransactionJournal::inRandomOrder()->whereNull('deleted_at')->first();
$tag = $this->user()->tags()->inRandomOrder()->whereNull('deleted_at')->first();
$journal = $this->user()->transactionJournals()->inRandomOrder()->whereNull('deleted_at')->first();
$journal->tags()->sync([$tag->id]);
$this->assertDatabaseHas('tag_transaction_journal', ['tag_id' => $tag->id, 'transaction_journal_id' => $journal->id]);
$ruleAction = new RuleAction;