test(stock): cover authoritative reservation expiration

This commit is contained in:
2026-08-25 15:28:23 -03:00
parent 1881cc1d4b
commit 49f42d4507
2 changed files with 15 additions and 37 deletions

View File

@@ -47,6 +47,7 @@ class CartControllerTest extends TestCase
]));
$this->assertTrue(Schema::hasColumn('carritos', 'current_stock_reservation_id'));
$this->assertTrue(Schema::hasColumn('compras', 'stock_reservation_id'));
$this->assertFalse(Schema::hasColumn('compras', 'expires_at'));
}
public function test_it_aggregates_shared_inventory_into_one_cart_reservation_line(): void