refactor(server): split oversized backend services
This commit is contained in:
@@ -80,7 +80,11 @@ def test_activate_pending_rule_endpoint_is_blocked() -> None:
|
||||
|
||||
response = client.post(
|
||||
f"/api/v1/agent-assets/{pending_rule.id}/activate",
|
||||
headers={"x-actor": "pytest"},
|
||||
headers={
|
||||
"x-actor": "pytest",
|
||||
"x-auth-username": "pytest",
|
||||
"x-auth-role-codes": "manager",
|
||||
},
|
||||
)
|
||||
|
||||
assert response.status_code == 400
|
||||
|
||||
Reference in New Issue
Block a user