From ce785afcba1703f9eb8b9a5e2977135eaf071d45 Mon Sep 17 00:00:00 2001 From: Chris Grayson Date: Fri, 5 Apr 2024 15:24:56 -0500 Subject: [PATCH 1/2] fix doc-file name --- ...und.token-authenticated.md => outbound.token_authenticated.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docs/{outbound.token-authenticated.md => outbound.token_authenticated.md} (100%) diff --git a/docs/outbound.token-authenticated.md b/docs/outbound.token_authenticated.md similarity index 100% rename from docs/outbound.token-authenticated.md rename to docs/outbound.token_authenticated.md From 4dd97cb9fcf90522020c77f16ed2adc066924431 Mon Sep 17 00:00:00 2001 From: Chris Grayson Date: Tue, 9 Apr 2024 11:36:43 -0500 Subject: [PATCH 2/2] fix tests after recent changes to leadconduit-custom --- package.json | 3 ++- test/json-spec.js | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 295b493..38a7838 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "vuex": "^3.6.2" }, "devDependencies": { - "@activeprospect/integration-dev-dependencies": "^1.1.3" + "@activeprospect/integration-dev-dependencies": "^1.1.3", + "leadconduit-integration": "^0.6.1" } } diff --git a/test/json-spec.js b/test/json-spec.js index df8b63b..80755e9 100644 --- a/test/json-spec.js +++ b/test/json-spec.js @@ -22,7 +22,6 @@ describe('Outbound JSON request', function() { assert.equal(integration.request(vars).body, '{"fname":"Mel","lname":"Gibson"}'); return assert.deepEqual(integration.request(vars).headers, { 'Content-Type': 'application/json; charset=utf-8', - 'Content-Length': 32, 'Accept': 'application/json;q=0.9,text/xml;q=0.8,application/xml;q=0.7,text/html;q=0.6,text/plain;q=0.5', 'Whatever': 'foo', 'Bar': 'baz' @@ -63,7 +62,6 @@ describe('Outbound JSON request', function() { }; return assert.deepEqual(integration.request(vars).headers, { 'Content-Type': 'application/json', - 'Content-Length': 2, 'Accept': 'application/json;q=0.9,text/xml;q=0.8,application/xml;q=0.7,text/html;q=0.6,text/plain;q=0.5' }); });