fix(api): update firewall filter comments and test assertions
Build and Push EvoFirewall Docker Image / build-and-push (push) Successful in 1m52s
Build and Push EvoFirewall Docker Image / create-release (push) Skipped

- Modified comments in the `mikrotik-install.rsc` script to clarify the naming convention for filter rules, ensuring consistency with `policy.rsc`.
- Updated the test assertions in `install-links.test.ts` to reflect the new comment names in the firewall filter rules, enhancing test accuracy.

These changes improve the clarity and reliability of the firewall configuration and associated tests.
This commit is contained in:
Denozordec
2026-07-23 20:51:12 +07:00
parent 94812edab3
commit 1091931269
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ describe('install-links', () => {
expect(byId.headers['content-type']).toContain('text/plain')
expect(byId.body).toContain(':global EvofwCpUrl "https://fw.example.com"')
expect(byId.body).toContain(`:global EvofwInstallLinkId "${body.id}"`)
expect(byId.body).toContain('evofw-bl-drop-input')
expect(byId.body).toContain('evofw-deny-drop-input')
expect(byId.body).toContain('/v1/agent/policy.rsc')
})