fix: complete InvesteMoz validation and error corrections
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Feature;
|
||||
|
||||
use App\Models\User;
|
||||
@@ -10,6 +11,7 @@ use Tests\TestCase;
|
||||
final class IvaProductionDraftTest extends TestCase
|
||||
{
|
||||
use DatabaseTransactions;
|
||||
|
||||
public function test_production_context_preserves_accepted_opportunities(): void
|
||||
{
|
||||
$target = DB::selectOne('select current_database() as name,inet_server_port() as port');
|
||||
@@ -31,6 +33,8 @@ final class IvaProductionDraftTest extends TestCase
|
||||
$this->assertSame('48.00', $book['result']['periods'][0]['fields']['02']);
|
||||
$this->assertSame('2024-12-15', $book['rows'][2]['taxOption']['declarationDate']);
|
||||
$this->assertSame('2026-10-15', $book['rows'][2]['taxOption']['operationDate']);
|
||||
if (getenv('IVA_G2I_RECOVERED')) file_put_contents(getenv('IVA_G2I_RECOVERED'), json_encode($recovered, JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE));
|
||||
if (getenv('IVA_G2I_RECOVERED')) {
|
||||
file_put_contents(getenv('IVA_G2I_RECOVERED'), json_encode($recovered, JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user