fix: add latest config apply state retrieval; enhance status response with configuration details
This commit is contained in:
@@ -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",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user