mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-12 20:00:47 +00:00
fix(tests): fix spec test v2
This commit is contained in:
1 parent
0a57b95cfc
commit
17403a5a81
2 files changed
+4
-2
No files matched your search
+3
-1
@@ -59,4 +59,6 @@ Tests/Unit/SoObjects
|
||||
# SAML2 autogenerated files
|
||||
SoObjects/SOGo/SOGoSAML2Exceptions.*
|
||||
|
||||
node_modules
|
||||
node_modules
|
||||
CLAUDE.md
|
||||
.claude/
|
||||
@@ -183,7 +183,7 @@ describe('Sieve', function() {
|
||||
it('add simple sieve filter', async function() {
|
||||
const folderName = 'Sent'
|
||||
const subject = 'add simple sieve filter'
|
||||
const sieveFilter = `require ["fileinto"];\r\nif anyof (header :contains "subject" "${subject}") {\r\n fileinto :create "${folderName}";\r\n}\r\n`
|
||||
const sieveFilter = `require ["mailbox","fileinto"];\r\nif anyof (header :contains "subject" "${subject}") {\r\n fileinto :create "${folderName}";\r\n}\r\n`
|
||||
|
||||
await prefs.set('SOGoSieveFilters', [{
|
||||
active: true,
|
||||
|
||||
Reference in new issue
Block a user