audit(offers): record acceptance blockers before homologation

This commit is contained in:
2026-11-14 18:25:09 +02:00
parent 528a2597ed
commit ed2fd86f6b
10 changed files with 360 additions and 1 deletions
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="Tests\Feature\OfferInvestmentAcceptanceAuditTest" file="C:\laragon\www\portal-investidor-qa-editorial-20261113\tests\Feature\OfferInvestmentAcceptanceAuditTest.php" tests="2" assertions="11" errors="0" failures="1" skipped="0" time="23.049038">
<testcase name="test_saved_offer_reuses_its_description_in_the_existing_investment_context" file="C:\laragon\www\portal-investidor-qa-editorial-20261113\tests\Feature\OfferInvestmentAcceptanceAuditTest.php" line="37" class="Tests\Feature\OfferInvestmentAcceptanceAuditTest" classname="Tests.Feature.OfferInvestmentAcceptanceAuditTest" assertions="4" time="17.378447">
<failure type="PHPUnit\Framework\ExpectationFailedException">Tests\Feature\OfferInvestmentAcceptanceAuditTest::test_saved_offer_reuses_its_description_in_the_existing_investment_context&#13;
Write once/read always: the existing description must not disappear at the investment-context boundary.
Failed asserting that null is identical to 'Existing company description to reuse once in investment preparation.'.
&#13;
C:\laragon\www\portal-investidor-qa-editorial-20261113\tests\Feature\OfferInvestmentAcceptanceAuditTest.php:43</failure>
</testcase>
<testcase name="test_native_context_options_do_not_disclose_another_owners_private_offer" file="C:\laragon\www\portal-investidor-qa-editorial-20261113\tests\Feature\OfferInvestmentAcceptanceAuditTest.php" line="47" class="Tests\Feature\OfferInvestmentAcceptanceAuditTest" classname="Tests.Feature.OfferInvestmentAcceptanceAuditTest" assertions="7" time="5.670591"/>
</testsuite>
</testsuites>