This is an automated email from the ASF dual-hosted git repository.
weizhouapache pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 4d006b5f85f UI: Fix missing label.allocated key in Status widget test
mock (#13546)
4d006b5f85f is described below
commit 4d006b5f85ff3bd678b01134e67f326adf8905b8
Author: Manoj Kumar <[email protected]>
AuthorDate: Tue Jul 7 16:13:07 2026 +0530
UI: Fix missing label.allocated key in Status widget test mock (#13546)
PR #13254 added an 'allocated' case to Status.vue getText() that calls
$t('label.allocated'), but did not update the test mock data, causing
two Allocated badge tests to fail in CI.
---
ui/tests/mockData/Status.mock.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ui/tests/mockData/Status.mock.json
b/ui/tests/mockData/Status.mock.json
index 0293cd0bbd0..d9ced6eb350 100644
--- a/ui/tests/mockData/Status.mock.json
+++ b/ui/tests/mockData/Status.mock.json
@@ -97,7 +97,8 @@
"message.guestnetwork.state.disabled":
"message.guestnetwork.state.disabled",
"message.guestnetwork.state.migrating":
"message.guestnetwork.state.migrating",
"message.guestnetwork.state.alert": "message.guestnetwork.state.alert",
- "message.guestnetwork.state.allocated":
"message.guestnetwork.state.allocated"
+ "message.guestnetwork.state.allocated":
"message.guestnetwork.state.allocated",
+ "label.allocated": "Allocated"
}
},
"routes": [