@@ -191,5 +191,5 @@ test('partial invoices preserve cents and VAT across cumulative rounding', funct
|
||||
|
||||
test('public invoice example is available without exposing company invoices', function () {
|
||||
auth()->forgetGuards();
|
||||
$this->get('/consulta/facturas')->assertOk()->assertInertia(fn ($page) => $page->where('initialScreen', 'invoices')->where('auth.user', null)->missing('invoices')->missing('orders'));
|
||||
$this->get('/consulta/facturas')->assertRedirect('/facturas');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user