fix: complete InvesteMoz validation and error corrections
This commit is contained in:
@@ -39,7 +39,9 @@ final class IvaOperationsDraftTest extends TestCase
|
||||
$this->assertCount(12, $book['result']['rows']);
|
||||
$this->assertSame('160.00', $book['result']['rows'][0]['vat']);
|
||||
$this->assertNull($book['result']['rows'][10]['vat']);
|
||||
if (getenv('IVA_L1_RECOVERED_OUT')) file_put_contents(getenv('IVA_L1_RECOVERED_OUT'), json_encode($economic, JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE));
|
||||
if (getenv('IVA_L1_RECOVERED_OUT')) {
|
||||
file_put_contents(getenv('IVA_L1_RECOVERED_OUT'), json_encode($economic, JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE));
|
||||
}
|
||||
$this->actingAs(User::factory()->create(['email_verified_at' => now()]));
|
||||
$this->getJson('/api/v1/simulation-drafts/'.$id)->assertNotFound();
|
||||
$this->assertSame($fingerprint, DB::selectOne("select md5(string_agg(row_to_json(r)::text,E'\\n' order by id)) as hash from simulation_tax_rule_versions r")->hash);
|
||||
|
||||
Reference in New Issue
Block a user