Preserva entrega A aceite de servicos em rascunho

This commit is contained in:
2026-10-25 22:02:44 +02:00
parent 26b80df545
commit ca13acb74e
31 changed files with 1152 additions and 17 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

+16
View File
@@ -0,0 +1,16 @@
{
"environment": "sgf_tempo_test only",
"parallel_php_processes": true,
"company_lock_overlap": true,
"identical_create": {
"same_record": true,
"second_replayed": true,
"events_created": 1
},
"concurrent_edit": {
"first_status": 200,
"second_status": 409,
"version_after": 2,
"events_created": 1
}
}
+18
View File
@@ -0,0 +1,18 @@
{
"database": "sgf_tempo_test",
"counts": {
"a_clients": 3,
"a_services": 1,
"a_service_drafts": 1,
"a_billing_drafts": 1,
"a_history": 9,
"a_events": 9,
"a_outbox": 9,
"a_pending": 9,
"a_commands": 9
},
"events_without_outbox": 0,
"outbox_states": [
"captured"
]
}
+10
View File
@@ -0,0 +1,10 @@
{
"environment": "browser-testing / sgf_tempo_test only",
"results": [
"Criação repetida recupera o mesmo registo/evento; conteúdo diferente com a mesma chave é recusado (409).",
"Consulta por credenciais reais sintéticas: leitura 200, edição e gestão 403.",
"Concessão/revogação de edição têm efeito no pedido seguinte, mantendo a mesma sessão.",
"Versão antiga e contexto antigo recusados (409); alteração sem protecção CSRF/origem recusada (419).",
"Cookie anterior à saída não recupera acesso aos dados de A (401)."
]
}