commit compras3 2811
tests / ci (push) Waiting to run

This commit is contained in:
2026-11-28 18:16:04 +02:00
parent 060c119ba1
commit 1ddabbbdcc
41 changed files with 1341 additions and 138 deletions
@@ -511,6 +511,8 @@ test('native expiry returns the same request and preserves the approved stage be
->where('history.data.0.rules.first_limit_minor', 5000)->where('history.data.0.rules.approval_includes_tax', true)
->where('history.data.0.approval_amount_minor', 10000)->where('history.data.0.approval_uses_separate_basis', false)
->where('history.data.0.steps.0.approver_id', $head->id)->where('history.data.0.steps.0.comment', 'Conferência sintética do primeiro nível')
->where('history.data.0.steps.0.decided_at', CarbonImmutable::parse($approved['decided_at'], config('app.timezone'))->toIso8601String())
->where('history.data.0.steps.1.decided_at', null)
->missing('history.data.0.rules.timing')->missing('history.data.0.items.0.category_context'));
foreach ($beforeHistoryRead as $table => $rows) {
expect(DB::table($table)->orderBy('id')->get()->toJson())->toBe($rows);