@@ -350,7 +350,8 @@ test('native office purchase reconciles declared accounts through receipt invoic
|
||||
$this->actingAs($buyer)->postJson('/adjudicacoes/'.$award->id.'/emitir')->assertRedirect();
|
||||
$this->postJson('/adjudicacoes/'.$award->id.'/emitir')->assertRedirect();
|
||||
$order = PurchaseOrder::query()->where('purchase_award_id', $award->id)->sole();
|
||||
expect($order->total_minor)->toBe(10000)->and($order->snapshot['account_assignments'][$line->id]['data']['allocations'][0]['account']['id'])->toBe($account['id']);
|
||||
expect($order->total_minor)->toBe(10000)->and($order->snapshot['budget_checked'])->toBeTrue()
|
||||
->and($order->snapshot['account_assignments'][$line->id]['data']['allocations'][0]['account']['id'])->toBe($account['id']);
|
||||
$receiver = $this->f['receiver'];
|
||||
$this->actingAs($receiver);
|
||||
$stock = StockItem::query()->create(['tenant_id' => $tenant, 'created_by' => $receiver->id, 'code' => 'OFFICE-FLOW-QA',
|
||||
|
||||
Reference in New Issue
Block a user