Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Apr 16, 2024
1 parent 26580f3 commit 11ea47d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
6 changes: 2 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,8 @@ exports.load_dkim_ini = function () {
this.cfg.verify.timeout = this.timeout ? this.timeout - 1 : 29
}

if (this.cfg.sign.enabled) {
this.load_dkim_default_key()
this.cfg.headers_to_sign = this.get_headers_to_sign()
}
this.load_dkim_default_key()
this.cfg.headers_to_sign = this.get_headers_to_sign()
}

// dkim_signer
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"homepage": "https://github.com/haraka/haraka-plugin-dkim#readme",
"devDependencies": {
"@haraka/eslint-config": "1.1.3",
"haraka-test-fixtures": "1.3.5"
"haraka-test-fixtures": "1.3.7"
},
"dependencies": {
"address-rfc2821": "^2.1.2",
Expand Down
1 change: 1 addition & 0 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const expectedCfg = {
'From, Sender, Reply-To, Subject, Date, Message-ID, To, Cc, MIME-Version',
},
verify: {
enabled: true,
timeout: 29,
},
headers_to_sign: [
Expand Down

0 comments on commit 11ea47d

Please sign in to comment.