@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user