This is an automated email from the ASF dual-hosted git repository.

lizhimins pushed a commit to branch rocketmq-studio
in repository https://gitbox.apache.org/repos/asf/rocketmq-dashboard.git


The following commit(s) were added to refs/heads/rocketmq-studio by this push:
     new 127c47b06 test(acl): give the UTC wire-format fixture its required 
resourceType (#7081)
127c47b06 is described below

commit 127c47b06a268cc74224d5f34c56ec7c36ac0d55
Author: lizhimins <[email protected]>
AuthorDate: Mon Oct 19 21:11:05 2026 +0800

    test(acl): give the UTC wire-format fixture its required resourceType 
(#7081)
    
    #6686 added a listAclRules fixture that omits resourceType, which AclRule
    requires. vitest transpiles without type checking so the suite stayed green,
    but `tsc -b` (the frontend build gate) failed on the merged trunk.
---
 web/src/pages/instance/__tests__/AclPage.test.tsx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/web/src/pages/instance/__tests__/AclPage.test.tsx 
b/web/src/pages/instance/__tests__/AclPage.test.tsx
index 5b5785c12..6be2f6fca 100644
--- a/web/src/pages/instance/__tests__/AclPage.test.tsx
+++ b/web/src/pages/instance/__tests__/AclPage.test.tsx
@@ -262,6 +262,7 @@ describe('ACL page', () => {
             id: 21,
             principal: 'remote-user',
             resource: 'remote-topic',
+            resourceType: 'Topic',
             resourcePattern: 'LITERAL',
             actions: ['PUB'],
             decision: 'ALLOW',

Reply via email to