feat: the team no longer gets alert e-mails; the Kanban user form drops the option
All checks were successful
Build and deploy / Validate source (push) Successful in 47s
Build and deploy / Integration suite on a real stack (push) Successful in 3m38s
Build and deploy / Secret scan and release gate (push) Successful in 9s
Build and deploy / Publish images (push) Successful in 1m20s
All checks were successful
Build and deploy / Validate source (push) Successful in 47s
Build and deploy / Integration suite on a real stack (push) Successful in 3m38s
Build and deploy / Secret scan and release gate (push) Successful in 9s
Build and deploy / Publish images (push) Successful in 1m20s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -265,11 +265,11 @@ with db.connect() as c:
|
||||
admin = Client()
|
||||
textil = admin.call('/operator/machines', {'name': 'Têxtil 1', 'products': ['textil']}, operator=True)['id']
|
||||
admin.call('/operator/machines', {'name': 'UV 1', 'products': ['uv']}, operator=True)
|
||||
for name, email, role, machines, alerts in (
|
||||
('Ana Souza', 'ana@dropstar.test', 'admin', [], True), ('Diego Ramos', 'diego@dropstar.test', 'gestao', [], True),
|
||||
('Bruno Souza', 'bruno@dropstar.test', 'operador', [textil], False), ('Carla Dias', 'carla@dropstar.test', 'vendedor', [], False)):
|
||||
for name, email, role, machines in (
|
||||
('Ana Souza', 'ana@dropstar.test', 'admin', []), ('Diego Ramos', 'diego@dropstar.test', 'gestao', []),
|
||||
('Bruno Souza', 'bruno@dropstar.test', 'operador', [textil]), ('Carla Dias', 'carla@dropstar.test', 'vendedor', [])):
|
||||
admin.call('/operator/users', {'name': name, 'email': email, 'role': role, 'password': 'senha-de-exemplo-123',
|
||||
'machines': machines, 'alerts': alerts}, operator=True)
|
||||
'machines': machines}, operator=True)
|
||||
|
||||
# Pedro's account (Camisetas Ipê): it brings his orders, one in correction, for Minha conta.
|
||||
from tests.smoke_test import register
|
||||
|
||||
Reference in New Issue
Block a user