@@ -197,7 +197,7 @@ test('browser cannot forge a confirmed payment or its encrypted banking snapshot
|
||||
|
||||
test('public payment example exposes no company payment data', function () {
|
||||
auth()->forgetGuards();
|
||||
$this->get('/consulta/pagamentos')->assertOk()->assertInertia(fn ($page) => $page->where('initialScreen', 'payments')->where('auth.user', null)->missing('payments')->missing('invoices'));
|
||||
$this->get('/consulta/pagamentos')->assertRedirect('/pagamentos');
|
||||
});
|
||||
|
||||
test('financial role is reloaded after the company lock rather than trusting a stale session user', function () {
|
||||
|
||||
Reference in New Issue
Block a user