Start testing new rule actions.

This commit is contained in:
James Cole
2020-08-23 07:42:14 +02:00
parent d89a4d8a54
commit 6e074d9b8b
34 changed files with 608 additions and 246 deletions

View File

@@ -46,9 +46,9 @@ class AppendNotes implements ActionInterface
}
/**
* Append notes with X
*
* @param TransactionJournal $journal
* @deprecated
* @codeCoverageIgnore
*
* @return bool
*/
@@ -84,8 +84,6 @@ class AppendNotes implements ActionInterface
$dbNote->noteable_id = (int) $journal['transaction_journal_id'];
$dbNote->noteable_type = TransactionJournal::class;
$dbNote->text = '';
}
Log::debug(sprintf('RuleAction AppendNotes appended "%s" to "%s".', $this->action->action_value, $dbNote->text));
$text = sprintf('%s%s', $dbNote->text, $this->action->action_value);