fix: add latest config apply state retrieval; enhance status response with configuration details

This commit is contained in:
GitHub Actions
2026-02-13 18:49:28 +00:00
parent d8c08c4b5d
commit 0024b81e39
3 changed files with 73 additions and 0 deletions

View File

@@ -49,6 +49,10 @@ func TestSecurityHandler_GetStatus_Fixed(t *testing.T) {
"mode": "disabled",
"enabled": false,
},
"config_apply": map[string]any{
"available": false,
"status": "unknown",
},
},
},
{
@@ -80,6 +84,10 @@ func TestSecurityHandler_GetStatus_Fixed(t *testing.T) {
"mode": "enabled",
"enabled": true,
},
"config_apply": map[string]any{
"available": false,
"status": "unknown",
},
},
},
}