@itentialopensource/adapter-gogetssl 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AUTH.md +39 -0
- package/BROKER.md +199 -0
- package/CALLS.md +169 -0
- package/CHANGELOG.md +9 -2
- package/CODE_OF_CONDUCT.md +12 -17
- package/CONTRIBUTING.md +88 -74
- package/ENHANCE.md +69 -0
- package/PROPERTIES.md +641 -0
- package/README.md +221 -571
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +11 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +334 -61
- package/adapterBase.js +1007 -253
- package/entities/.generic/action.json +105 -0
- package/entities/.generic/schema.json +6 -1
- package/error.json +6 -0
- package/package.json +5 -3
- package/pronghorn.json +642 -401
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +424 -3
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +10 -0
- package/report/updateReport1653710772448.json +120 -0
- package/sampleProperties.json +90 -1
- package/test/integration/adapterTestBasicGet.js +1 -1
- package/test/integration/adapterTestIntegration.js +37 -116
- package/test/unit/adapterBaseTestUnit.js +30 -25
- package/test/unit/adapterTestUnit.js +349 -334
- package/utils/adapterInfo.js +206 -0
- package/utils/artifactize.js +0 -0
- package/utils/entitiesToDB.js +12 -57
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +3 -0
- package/utils/tbScript.js +35 -20
- package/utils/tbUtils.js +59 -35
- package/utils/testRunner.js +16 -16
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
/* global describe it log pronghornProps */
|
|
5
5
|
/* eslint global-require: warn */
|
|
6
6
|
/* eslint no-unused-vars: warn */
|
|
7
|
+
/* eslint import/no-dynamic-require:warn */
|
|
7
8
|
|
|
8
9
|
// include required items for testing & logging
|
|
9
10
|
const assert = require('assert');
|
|
@@ -18,22 +19,31 @@ const { use } = require('chai');
|
|
|
18
19
|
const td = require('testdouble');
|
|
19
20
|
|
|
20
21
|
const anything = td.matchers.anything();
|
|
21
|
-
|
|
22
|
-
// stub and attemptTimeout are used throughout the code so set them here
|
|
23
22
|
let logLevel = 'none';
|
|
24
|
-
const stub = true;
|
|
25
23
|
const isRapidFail = false;
|
|
26
|
-
|
|
24
|
+
|
|
25
|
+
// read in the properties from the sampleProperties files
|
|
26
|
+
let adaptdir = __dirname;
|
|
27
|
+
if (adaptdir.endsWith('/test/integration')) {
|
|
28
|
+
adaptdir = adaptdir.substring(0, adaptdir.length - 17);
|
|
29
|
+
} else if (adaptdir.endsWith('/test/unit')) {
|
|
30
|
+
adaptdir = adaptdir.substring(0, adaptdir.length - 10);
|
|
31
|
+
}
|
|
32
|
+
const samProps = require(`${adaptdir}/sampleProperties.json`).properties;
|
|
27
33
|
|
|
28
34
|
// these variables can be changed to run in integrated mode so easier to set them here
|
|
29
35
|
// always check these in with bogus data!!!
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
samProps.stub = true;
|
|
37
|
+
samProps.host = 'replace.hostorip.here';
|
|
38
|
+
samProps.authentication.username = 'username';
|
|
39
|
+
samProps.authentication.password = 'password';
|
|
40
|
+
samProps.protocol = 'http';
|
|
41
|
+
samProps.port = 80;
|
|
42
|
+
samProps.ssl.enabled = false;
|
|
43
|
+
samProps.ssl.accept_invalid_cert = false;
|
|
44
|
+
samProps.request.attempt_timeout = 60000;
|
|
45
|
+
const attemptTimeout = samProps.request.attempt_timeout;
|
|
46
|
+
const { stub } = samProps;
|
|
37
47
|
|
|
38
48
|
// these are the adapter properties. You generally should not need to alter
|
|
39
49
|
// any of these after they are initially set up
|
|
@@ -43,104 +53,9 @@ global.pronghornProps = {
|
|
|
43
53
|
},
|
|
44
54
|
adapterProps: {
|
|
45
55
|
adapters: [{
|
|
46
|
-
id: 'Test-
|
|
56
|
+
id: 'Test-gogetssl',
|
|
47
57
|
type: 'GoGetSSL',
|
|
48
|
-
properties:
|
|
49
|
-
host,
|
|
50
|
-
port,
|
|
51
|
-
base_path: '/',
|
|
52
|
-
version: '',
|
|
53
|
-
cache_location: 'none',
|
|
54
|
-
encode_pathvars: true,
|
|
55
|
-
save_metric: false,
|
|
56
|
-
stub,
|
|
57
|
-
protocol,
|
|
58
|
-
authentication: {
|
|
59
|
-
auth_method: 'no_authentication',
|
|
60
|
-
username,
|
|
61
|
-
password,
|
|
62
|
-
token: '',
|
|
63
|
-
invalid_token_error: 401,
|
|
64
|
-
token_timeout: -1,
|
|
65
|
-
token_cache: 'local',
|
|
66
|
-
auth_field: 'header.headers.Authorization',
|
|
67
|
-
auth_field_format: 'Basic {b64}{username}:{password}{/b64}',
|
|
68
|
-
auth_logging: false,
|
|
69
|
-
client_id: '',
|
|
70
|
-
client_secret: '',
|
|
71
|
-
grant_type: ''
|
|
72
|
-
},
|
|
73
|
-
healthcheck: {
|
|
74
|
-
type: 'none',
|
|
75
|
-
frequency: 60000,
|
|
76
|
-
query_object: {}
|
|
77
|
-
},
|
|
78
|
-
throttle: {
|
|
79
|
-
throttle_enabled: false,
|
|
80
|
-
number_pronghorns: 1,
|
|
81
|
-
sync_async: 'sync',
|
|
82
|
-
max_in_queue: 1000,
|
|
83
|
-
concurrent_max: 1,
|
|
84
|
-
expire_timeout: 0,
|
|
85
|
-
avg_runtime: 200,
|
|
86
|
-
priorities: [
|
|
87
|
-
{
|
|
88
|
-
value: 0,
|
|
89
|
-
percent: 100
|
|
90
|
-
}
|
|
91
|
-
]
|
|
92
|
-
},
|
|
93
|
-
request: {
|
|
94
|
-
number_redirects: 0,
|
|
95
|
-
number_retries: 3,
|
|
96
|
-
limit_retry_error: [0],
|
|
97
|
-
failover_codes: [],
|
|
98
|
-
attempt_timeout: attemptTimeout,
|
|
99
|
-
global_request: {
|
|
100
|
-
payload: {},
|
|
101
|
-
uriOptions: {},
|
|
102
|
-
addlHeaders: {},
|
|
103
|
-
authData: {}
|
|
104
|
-
},
|
|
105
|
-
healthcheck_on_timeout: true,
|
|
106
|
-
return_raw: true,
|
|
107
|
-
archiving: false,
|
|
108
|
-
return_request: false
|
|
109
|
-
},
|
|
110
|
-
proxy: {
|
|
111
|
-
enabled: false,
|
|
112
|
-
host: '',
|
|
113
|
-
port: 1,
|
|
114
|
-
protocol: 'http',
|
|
115
|
-
username: '',
|
|
116
|
-
password: ''
|
|
117
|
-
},
|
|
118
|
-
ssl: {
|
|
119
|
-
ecdhCurve: '',
|
|
120
|
-
enabled: sslenable,
|
|
121
|
-
accept_invalid_cert: sslinvalid,
|
|
122
|
-
ca_file: '',
|
|
123
|
-
key_file: '',
|
|
124
|
-
cert_file: '',
|
|
125
|
-
secure_protocol: '',
|
|
126
|
-
ciphers: ''
|
|
127
|
-
},
|
|
128
|
-
mongo: {
|
|
129
|
-
host: '',
|
|
130
|
-
port: 0,
|
|
131
|
-
database: '',
|
|
132
|
-
username: '',
|
|
133
|
-
password: '',
|
|
134
|
-
replSet: '',
|
|
135
|
-
db_ssl: {
|
|
136
|
-
enabled: false,
|
|
137
|
-
accept_invalid_cert: false,
|
|
138
|
-
ca_file: '',
|
|
139
|
-
key_file: '',
|
|
140
|
-
cert_file: ''
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
58
|
+
properties: samProps
|
|
144
59
|
}]
|
|
145
60
|
}
|
|
146
61
|
};
|
|
@@ -271,10 +186,10 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
271
186
|
});
|
|
272
187
|
|
|
273
188
|
let wffunctions = [];
|
|
274
|
-
describe('#
|
|
189
|
+
describe('#iapGetAdapterWorkflowFunctions', () => {
|
|
275
190
|
it('should retrieve workflow functions', (done) => {
|
|
276
191
|
try {
|
|
277
|
-
wffunctions = a.
|
|
192
|
+
wffunctions = a.iapGetAdapterWorkflowFunctions([]);
|
|
278
193
|
|
|
279
194
|
try {
|
|
280
195
|
assert.notEqual(0, wffunctions.length);
|
|
@@ -356,6 +271,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
356
271
|
assert.notEqual(undefined, packageDotJson.scripts);
|
|
357
272
|
assert.notEqual(null, packageDotJson.scripts);
|
|
358
273
|
assert.notEqual('', packageDotJson.scripts);
|
|
274
|
+
assert.equal('node utils/setup.js && npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions', packageDotJson.scripts.preinstall);
|
|
359
275
|
assert.equal('node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js', packageDotJson.scripts.lint);
|
|
360
276
|
assert.equal('node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet', packageDotJson.scripts['lint:errors']);
|
|
361
277
|
assert.equal('mocha test/unit/adapterBaseTestUnit.js --LOG=error', packageDotJson.scripts['test:baseunit']);
|
|
@@ -363,6 +279,8 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
363
279
|
assert.equal('mocha test/integration/adapterTestIntegration.js --LOG=error', packageDotJson.scripts['test:integration']);
|
|
364
280
|
assert.equal('nyc --reporter html --reporter text mocha --reporter dot test/*', packageDotJson.scripts['test:cover']);
|
|
365
281
|
assert.equal('npm run test:baseunit && npm run test:unit && npm run test:integration', packageDotJson.scripts.test);
|
|
282
|
+
assert.equal('npm publish --registry=https://registry.npmjs.org --access=public', packageDotJson.scripts.deploy);
|
|
283
|
+
assert.equal('npm run deploy', packageDotJson.scripts.build);
|
|
366
284
|
done();
|
|
367
285
|
} catch (error) {
|
|
368
286
|
log.error(`Test Failure: ${error}`);
|
|
@@ -375,6 +293,9 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
375
293
|
assert.notEqual(undefined, packageDotJson.repository);
|
|
376
294
|
assert.notEqual(null, packageDotJson.repository);
|
|
377
295
|
assert.notEqual('', packageDotJson.repository);
|
|
296
|
+
assert.equal('git', packageDotJson.repository.type);
|
|
297
|
+
assert.equal('git@gitlab.com:itentialopensource/adapters/', packageDotJson.repository.url.substring(0, 43));
|
|
298
|
+
assert.equal('https://gitlab.com/itentialopensource/adapters/', packageDotJson.homepage.substring(0, 47));
|
|
378
299
|
done();
|
|
379
300
|
} catch (error) {
|
|
380
301
|
log.error(`Test Failure: ${error}`);
|
|
@@ -459,16 +380,17 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
459
380
|
assert.notEqual('', pronghornDotJson.methods);
|
|
460
381
|
assert.equal(true, Array.isArray(pronghornDotJson.methods));
|
|
461
382
|
assert.notEqual(0, pronghornDotJson.methods.length);
|
|
462
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
463
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
464
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
465
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
466
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
467
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
468
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
469
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
470
|
-
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === '
|
|
383
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapUpdateAdapterConfiguration'));
|
|
384
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapFindAdapterPath'));
|
|
385
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapTroubleshootAdapter'));
|
|
386
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapRunAdapterHealthcheck'));
|
|
387
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapRunAdapterConnectivity'));
|
|
388
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapRunAdapterBasicGet'));
|
|
389
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapSuspendAdapter'));
|
|
390
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapUnsuspendAdapter'));
|
|
391
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'iapGetAdapterQueue'));
|
|
471
392
|
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'genericAdapterRequest'));
|
|
393
|
+
assert.notEqual(undefined, pronghornDotJson.methods.find((e) => e.name === 'genericAdapterRequestNoBasePath'));
|
|
472
394
|
done();
|
|
473
395
|
} catch (error) {
|
|
474
396
|
log.error(`Test Failure: ${error}`);
|
|
@@ -640,6 +562,8 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
640
562
|
assert.equal('string', propertiesDotJson.definitions.authentication.properties.client_id.type);
|
|
641
563
|
assert.equal('string', propertiesDotJson.definitions.authentication.properties.client_secret.type);
|
|
642
564
|
assert.equal('string', propertiesDotJson.definitions.authentication.properties.grant_type.type);
|
|
565
|
+
assert.notEqual(undefined, propertiesDotJson.definitions.ssl);
|
|
566
|
+
assert.notEqual(null, propertiesDotJson.definitions.ssl);
|
|
643
567
|
assert.notEqual('', propertiesDotJson.definitions.ssl);
|
|
644
568
|
assert.equal('string', propertiesDotJson.definitions.ssl.properties.ecdhCurve.type);
|
|
645
569
|
assert.equal('boolean', propertiesDotJson.definitions.ssl.properties.enabled.type);
|
|
@@ -653,6 +577,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
653
577
|
assert.equal('string', propertiesDotJson.properties.version.type);
|
|
654
578
|
assert.equal('string', propertiesDotJson.properties.cache_location.type);
|
|
655
579
|
assert.equal('boolean', propertiesDotJson.properties.encode_pathvars.type);
|
|
580
|
+
assert.equal('boolean', propertiesDotJson.properties.encode_queryvars.type);
|
|
656
581
|
assert.equal(true, Array.isArray(propertiesDotJson.properties.save_metric.type));
|
|
657
582
|
assert.equal('string', propertiesDotJson.properties.protocol.type);
|
|
658
583
|
assert.notEqual(undefined, propertiesDotJson.definitions);
|
|
@@ -701,8 +626,6 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
701
626
|
assert.equal('string', propertiesDotJson.definitions.proxy.properties.protocol.type);
|
|
702
627
|
assert.equal('string', propertiesDotJson.definitions.proxy.properties.username.type);
|
|
703
628
|
assert.equal('string', propertiesDotJson.definitions.proxy.properties.password.type);
|
|
704
|
-
assert.notEqual(undefined, propertiesDotJson.definitions.ssl);
|
|
705
|
-
assert.notEqual(null, propertiesDotJson.definitions.ssl);
|
|
706
629
|
assert.notEqual(undefined, propertiesDotJson.definitions.mongo);
|
|
707
630
|
assert.notEqual(null, propertiesDotJson.definitions.mongo);
|
|
708
631
|
assert.notEqual('', propertiesDotJson.definitions.mongo);
|
|
@@ -718,6 +641,12 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
718
641
|
assert.equal('string', propertiesDotJson.definitions.mongo.properties.db_ssl.properties.ca_file.type);
|
|
719
642
|
assert.equal('string', propertiesDotJson.definitions.mongo.properties.db_ssl.properties.key_file.type);
|
|
720
643
|
assert.equal('string', propertiesDotJson.definitions.mongo.properties.db_ssl.properties.cert_file.type);
|
|
644
|
+
assert.notEqual('', propertiesDotJson.definitions.devicebroker);
|
|
645
|
+
assert.equal('array', propertiesDotJson.definitions.devicebroker.properties.getDevice.type);
|
|
646
|
+
assert.equal('array', propertiesDotJson.definitions.devicebroker.properties.getDevicesFiltered.type);
|
|
647
|
+
assert.equal('array', propertiesDotJson.definitions.devicebroker.properties.isAlive.type);
|
|
648
|
+
assert.equal('array', propertiesDotJson.definitions.devicebroker.properties.getConfig.type);
|
|
649
|
+
assert.equal('array', propertiesDotJson.definitions.devicebroker.properties.getCount.type);
|
|
721
650
|
done();
|
|
722
651
|
} catch (error) {
|
|
723
652
|
log.error(`Test Failure: ${error}`);
|
|
@@ -834,17 +763,13 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
834
763
|
assert.notEqual(undefined, sampleDotJson.properties.ssl.cert_file);
|
|
835
764
|
assert.notEqual(undefined, sampleDotJson.properties.ssl.secure_protocol);
|
|
836
765
|
assert.notEqual(undefined, sampleDotJson.properties.ssl.ciphers);
|
|
837
|
-
|
|
838
766
|
assert.notEqual(undefined, sampleDotJson.properties.base_path);
|
|
839
767
|
assert.notEqual(undefined, sampleDotJson.properties.version);
|
|
840
768
|
assert.notEqual(undefined, sampleDotJson.properties.cache_location);
|
|
841
769
|
assert.notEqual(undefined, sampleDotJson.properties.encode_pathvars);
|
|
770
|
+
assert.notEqual(undefined, sampleDotJson.properties.encode_queryvars);
|
|
842
771
|
assert.notEqual(undefined, sampleDotJson.properties.save_metric);
|
|
843
772
|
assert.notEqual(undefined, sampleDotJson.properties.protocol);
|
|
844
|
-
assert.notEqual(undefined, sampleDotJson.properties.stub);
|
|
845
|
-
assert.notEqual(undefined, sampleDotJson.properties.stub);
|
|
846
|
-
assert.notEqual(undefined, sampleDotJson.properties.stub);
|
|
847
|
-
assert.notEqual(undefined, sampleDotJson.properties.stub);
|
|
848
773
|
assert.notEqual(undefined, sampleDotJson.properties.healthcheck);
|
|
849
774
|
assert.notEqual(null, sampleDotJson.properties.healthcheck);
|
|
850
775
|
assert.notEqual('', sampleDotJson.properties.healthcheck);
|
|
@@ -903,6 +828,12 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
903
828
|
assert.notEqual(undefined, sampleDotJson.properties.mongo.db_ssl.ca_file);
|
|
904
829
|
assert.notEqual(undefined, sampleDotJson.properties.mongo.db_ssl.key_file);
|
|
905
830
|
assert.notEqual(undefined, sampleDotJson.properties.mongo.db_ssl.cert_file);
|
|
831
|
+
assert.notEqual(undefined, sampleDotJson.properties.devicebroker);
|
|
832
|
+
assert.notEqual(undefined, sampleDotJson.properties.devicebroker.getDevice);
|
|
833
|
+
assert.notEqual(undefined, sampleDotJson.properties.devicebroker.getDevicesFiltered);
|
|
834
|
+
assert.notEqual(undefined, sampleDotJson.properties.devicebroker.isAlive);
|
|
835
|
+
assert.notEqual(undefined, sampleDotJson.properties.devicebroker.getConfig);
|
|
836
|
+
assert.notEqual(undefined, sampleDotJson.properties.devicebroker.getCount);
|
|
906
837
|
done();
|
|
907
838
|
} catch (error) {
|
|
908
839
|
log.error(`Test Failure: ${error}`);
|
|
@@ -996,10 +927,10 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
996
927
|
});
|
|
997
928
|
});
|
|
998
929
|
|
|
999
|
-
describe('#
|
|
1000
|
-
it('should have a
|
|
930
|
+
describe('#iapUpdateAdapterConfiguration', () => {
|
|
931
|
+
it('should have a iapUpdateAdapterConfiguration function', (done) => {
|
|
1001
932
|
try {
|
|
1002
|
-
assert.equal(true, typeof a.
|
|
933
|
+
assert.equal(true, typeof a.iapUpdateAdapterConfiguration === 'function');
|
|
1003
934
|
done();
|
|
1004
935
|
} catch (error) {
|
|
1005
936
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1008,19 +939,19 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1008
939
|
});
|
|
1009
940
|
});
|
|
1010
941
|
|
|
1011
|
-
describe('#
|
|
1012
|
-
it('should have a
|
|
942
|
+
describe('#iapFindAdapterPath', () => {
|
|
943
|
+
it('should have a iapFindAdapterPath function', (done) => {
|
|
1013
944
|
try {
|
|
1014
|
-
assert.equal(true, typeof a.
|
|
945
|
+
assert.equal(true, typeof a.iapFindAdapterPath === 'function');
|
|
1015
946
|
done();
|
|
1016
947
|
} catch (error) {
|
|
1017
948
|
log.error(`Test Failure: ${error}`);
|
|
1018
949
|
done(error);
|
|
1019
950
|
}
|
|
1020
951
|
});
|
|
1021
|
-
it('
|
|
952
|
+
it('iapFindAdapterPath should find atleast one path that matches', (done) => {
|
|
1022
953
|
try {
|
|
1023
|
-
a.
|
|
954
|
+
a.iapFindAdapterPath('{base_path}/{version}', (data, error) => {
|
|
1024
955
|
try {
|
|
1025
956
|
assert.equal(undefined, error);
|
|
1026
957
|
assert.notEqual(undefined, data);
|
|
@@ -1042,10 +973,10 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1042
973
|
}).timeout(attemptTimeout);
|
|
1043
974
|
});
|
|
1044
975
|
|
|
1045
|
-
describe('#
|
|
1046
|
-
it('should have a
|
|
976
|
+
describe('#iapSuspendAdapter', () => {
|
|
977
|
+
it('should have a iapSuspendAdapter function', (done) => {
|
|
1047
978
|
try {
|
|
1048
|
-
assert.equal(true, typeof a.
|
|
979
|
+
assert.equal(true, typeof a.iapSuspendAdapter === 'function');
|
|
1049
980
|
done();
|
|
1050
981
|
} catch (error) {
|
|
1051
982
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1054,10 +985,10 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1054
985
|
});
|
|
1055
986
|
});
|
|
1056
987
|
|
|
1057
|
-
describe('#
|
|
1058
|
-
it('should have a
|
|
988
|
+
describe('#iapUnsuspendAdapter', () => {
|
|
989
|
+
it('should have a iapUnsuspendAdapter function', (done) => {
|
|
1059
990
|
try {
|
|
1060
|
-
assert.equal(true, typeof a.
|
|
991
|
+
assert.equal(true, typeof a.iapUnsuspendAdapter === 'function');
|
|
1061
992
|
done();
|
|
1062
993
|
} catch (error) {
|
|
1063
994
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1066,10 +997,10 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1066
997
|
});
|
|
1067
998
|
});
|
|
1068
999
|
|
|
1069
|
-
describe('#
|
|
1070
|
-
it('should have a
|
|
1000
|
+
describe('#iapGetAdapterQueue', () => {
|
|
1001
|
+
it('should have a iapGetAdapterQueue function', (done) => {
|
|
1071
1002
|
try {
|
|
1072
|
-
assert.equal(true, typeof a.
|
|
1003
|
+
assert.equal(true, typeof a.iapGetAdapterQueue === 'function');
|
|
1073
1004
|
done();
|
|
1074
1005
|
} catch (error) {
|
|
1075
1006
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1078,10 +1009,10 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1078
1009
|
});
|
|
1079
1010
|
});
|
|
1080
1011
|
|
|
1081
|
-
describe('#
|
|
1082
|
-
it('should have a
|
|
1012
|
+
describe('#iapTroubleshootAdapter', () => {
|
|
1013
|
+
it('should have a iapTroubleshootAdapter function', (done) => {
|
|
1083
1014
|
try {
|
|
1084
|
-
assert.equal(true, typeof a.
|
|
1015
|
+
assert.equal(true, typeof a.iapTroubleshootAdapter === 'function');
|
|
1085
1016
|
done();
|
|
1086
1017
|
} catch (error) {
|
|
1087
1018
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1090,10 +1021,10 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1090
1021
|
});
|
|
1091
1022
|
});
|
|
1092
1023
|
|
|
1093
|
-
describe('#
|
|
1094
|
-
it('should have a
|
|
1024
|
+
describe('#iapRunAdapterHealthcheck', () => {
|
|
1025
|
+
it('should have a iapRunAdapterHealthcheck function', (done) => {
|
|
1095
1026
|
try {
|
|
1096
|
-
assert.equal(true, typeof a.
|
|
1027
|
+
assert.equal(true, typeof a.iapRunAdapterHealthcheck === 'function');
|
|
1097
1028
|
done();
|
|
1098
1029
|
} catch (error) {
|
|
1099
1030
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1102,10 +1033,10 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1102
1033
|
});
|
|
1103
1034
|
});
|
|
1104
1035
|
|
|
1105
|
-
describe('#
|
|
1106
|
-
it('should have a
|
|
1036
|
+
describe('#iapRunAdapterConnectivity', () => {
|
|
1037
|
+
it('should have a iapRunAdapterConnectivity function', (done) => {
|
|
1107
1038
|
try {
|
|
1108
|
-
assert.equal(true, typeof a.
|
|
1039
|
+
assert.equal(true, typeof a.iapRunAdapterConnectivity === 'function');
|
|
1109
1040
|
done();
|
|
1110
1041
|
} catch (error) {
|
|
1111
1042
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1114,10 +1045,22 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1114
1045
|
});
|
|
1115
1046
|
});
|
|
1116
1047
|
|
|
1117
|
-
describe('#
|
|
1118
|
-
it('should have a
|
|
1048
|
+
describe('#iapRunAdapterBasicGet', () => {
|
|
1049
|
+
it('should have a iapRunAdapterBasicGet function', (done) => {
|
|
1119
1050
|
try {
|
|
1120
|
-
assert.equal(true, typeof a.
|
|
1051
|
+
assert.equal(true, typeof a.iapRunAdapterBasicGet === 'function');
|
|
1052
|
+
done();
|
|
1053
|
+
} catch (error) {
|
|
1054
|
+
log.error(`Test Failure: ${error}`);
|
|
1055
|
+
done(error);
|
|
1056
|
+
}
|
|
1057
|
+
});
|
|
1058
|
+
});
|
|
1059
|
+
|
|
1060
|
+
describe('#iapMoveAdapterEntitiesToDB', () => {
|
|
1061
|
+
it('should have a iapMoveAdapterEntitiesToDB function', (done) => {
|
|
1062
|
+
try {
|
|
1063
|
+
assert.equal(true, typeof a.iapMoveAdapterEntitiesToDB === 'function');
|
|
1121
1064
|
done();
|
|
1122
1065
|
} catch (error) {
|
|
1123
1066
|
log.error(`Test Failure: ${error}`);
|
|
@@ -1211,10 +1154,10 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1211
1154
|
}).timeout(attemptTimeout);
|
|
1212
1155
|
});
|
|
1213
1156
|
|
|
1214
|
-
// describe('#
|
|
1215
|
-
// it('should have a
|
|
1157
|
+
// describe('#iapHasAdapterEntity', () => {
|
|
1158
|
+
// it('should have a iapHasAdapterEntity function', (done) => {
|
|
1216
1159
|
// try {
|
|
1217
|
-
// assert.equal(true, typeof a.
|
|
1160
|
+
// assert.equal(true, typeof a.iapHasAdapterEntity === 'function');
|
|
1218
1161
|
// done();
|
|
1219
1162
|
// } catch (error) {
|
|
1220
1163
|
// log.error(`Test Failure: ${error}`);
|
|
@@ -1223,7 +1166,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1223
1166
|
// });
|
|
1224
1167
|
// it('should find entity', (done) => {
|
|
1225
1168
|
// try {
|
|
1226
|
-
// a.
|
|
1169
|
+
// a.iapHasAdapterEntity('template_entity', // 'a9e9c33dc61122760072455df62663d2', (data) => {
|
|
1227
1170
|
// try {
|
|
1228
1171
|
// assert.equal(true, data[0]);
|
|
1229
1172
|
// done();
|
|
@@ -1239,7 +1182,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1239
1182
|
// }).timeout(attemptTimeout);
|
|
1240
1183
|
// it('should not find entity', (done) => {
|
|
1241
1184
|
// try {
|
|
1242
|
-
// a.
|
|
1185
|
+
// a.iapHasAdapterEntity('template_entity', 'blah', (data) => {
|
|
1243
1186
|
// try {
|
|
1244
1187
|
// assert.equal(false, data[0]);
|
|
1245
1188
|
// done();
|
|
@@ -1255,6 +1198,78 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1255
1198
|
// }).timeout(attemptTimeout);
|
|
1256
1199
|
// });
|
|
1257
1200
|
|
|
1201
|
+
describe('#hasEntities', () => {
|
|
1202
|
+
it('should have a hasEntities function', (done) => {
|
|
1203
|
+
try {
|
|
1204
|
+
assert.equal(true, typeof a.hasEntities === 'function');
|
|
1205
|
+
done();
|
|
1206
|
+
} catch (error) {
|
|
1207
|
+
log.error(`Test Failure: ${error}`);
|
|
1208
|
+
done(error);
|
|
1209
|
+
}
|
|
1210
|
+
});
|
|
1211
|
+
});
|
|
1212
|
+
|
|
1213
|
+
describe('#getDevice', () => {
|
|
1214
|
+
it('should have a getDevice function', (done) => {
|
|
1215
|
+
try {
|
|
1216
|
+
assert.equal(true, typeof a.getDevice === 'function');
|
|
1217
|
+
done();
|
|
1218
|
+
} catch (error) {
|
|
1219
|
+
log.error(`Test Failure: ${error}`);
|
|
1220
|
+
done(error);
|
|
1221
|
+
}
|
|
1222
|
+
});
|
|
1223
|
+
});
|
|
1224
|
+
|
|
1225
|
+
describe('#getDevicesFiltered', () => {
|
|
1226
|
+
it('should have a getDevicesFiltered function', (done) => {
|
|
1227
|
+
try {
|
|
1228
|
+
assert.equal(true, typeof a.getDevicesFiltered === 'function');
|
|
1229
|
+
done();
|
|
1230
|
+
} catch (error) {
|
|
1231
|
+
log.error(`Test Failure: ${error}`);
|
|
1232
|
+
done(error);
|
|
1233
|
+
}
|
|
1234
|
+
});
|
|
1235
|
+
});
|
|
1236
|
+
|
|
1237
|
+
describe('#isAlive', () => {
|
|
1238
|
+
it('should have a isAlive function', (done) => {
|
|
1239
|
+
try {
|
|
1240
|
+
assert.equal(true, typeof a.isAlive === 'function');
|
|
1241
|
+
done();
|
|
1242
|
+
} catch (error) {
|
|
1243
|
+
log.error(`Test Failure: ${error}`);
|
|
1244
|
+
done(error);
|
|
1245
|
+
}
|
|
1246
|
+
});
|
|
1247
|
+
});
|
|
1248
|
+
|
|
1249
|
+
describe('#getConfig', () => {
|
|
1250
|
+
it('should have a getConfig function', (done) => {
|
|
1251
|
+
try {
|
|
1252
|
+
assert.equal(true, typeof a.getConfig === 'function');
|
|
1253
|
+
done();
|
|
1254
|
+
} catch (error) {
|
|
1255
|
+
log.error(`Test Failure: ${error}`);
|
|
1256
|
+
done(error);
|
|
1257
|
+
}
|
|
1258
|
+
});
|
|
1259
|
+
});
|
|
1260
|
+
|
|
1261
|
+
describe('#iapGetDeviceCount', () => {
|
|
1262
|
+
it('should have a iapGetDeviceCount function', (done) => {
|
|
1263
|
+
try {
|
|
1264
|
+
assert.equal(true, typeof a.iapGetDeviceCount === 'function');
|
|
1265
|
+
done();
|
|
1266
|
+
} catch (error) {
|
|
1267
|
+
log.error(`Test Failure: ${error}`);
|
|
1268
|
+
done(error);
|
|
1269
|
+
}
|
|
1270
|
+
});
|
|
1271
|
+
});
|
|
1272
|
+
|
|
1258
1273
|
/*
|
|
1259
1274
|
-----------------------------------------------------------------------
|
|
1260
1275
|
-----------------------------------------------------------------------
|
|
@@ -1279,7 +1294,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1279
1294
|
a.getAllProducts(null, (data, error) => {
|
|
1280
1295
|
try {
|
|
1281
1296
|
const displayE = 'authKey is required';
|
|
1282
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1297
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getAllProducts', displayE);
|
|
1283
1298
|
done();
|
|
1284
1299
|
} catch (err) {
|
|
1285
1300
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1308,7 +1323,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1308
1323
|
a.getAllProductPrices(null, (data, error) => {
|
|
1309
1324
|
try {
|
|
1310
1325
|
const displayE = 'authKey is required';
|
|
1311
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1326
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getAllProductPrices', displayE);
|
|
1312
1327
|
done();
|
|
1313
1328
|
} catch (err) {
|
|
1314
1329
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1337,7 +1352,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1337
1352
|
a.getProductDetails(null, null, (data, error) => {
|
|
1338
1353
|
try {
|
|
1339
1354
|
const displayE = 'authKey is required';
|
|
1340
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1355
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getProductDetails', displayE);
|
|
1341
1356
|
done();
|
|
1342
1357
|
} catch (err) {
|
|
1343
1358
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1354,7 +1369,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1354
1369
|
a.getProductDetails('fakeparam', null, (data, error) => {
|
|
1355
1370
|
try {
|
|
1356
1371
|
const displayE = 'productId is required';
|
|
1357
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1372
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getProductDetails', displayE);
|
|
1358
1373
|
done();
|
|
1359
1374
|
} catch (err) {
|
|
1360
1375
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1383,7 +1398,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1383
1398
|
a.getProductPrice(null, null, (data, error) => {
|
|
1384
1399
|
try {
|
|
1385
1400
|
const displayE = 'authKey is required';
|
|
1386
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1401
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getProductPrice', displayE);
|
|
1387
1402
|
done();
|
|
1388
1403
|
} catch (err) {
|
|
1389
1404
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1400,7 +1415,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1400
1415
|
a.getProductPrice('fakeparam', null, (data, error) => {
|
|
1401
1416
|
try {
|
|
1402
1417
|
const displayE = 'productId is required';
|
|
1403
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1418
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getProductPrice', displayE);
|
|
1404
1419
|
done();
|
|
1405
1420
|
} catch (err) {
|
|
1406
1421
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1429,7 +1444,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1429
1444
|
a.getProductAgreement(null, null, (data, error) => {
|
|
1430
1445
|
try {
|
|
1431
1446
|
const displayE = 'authKey is required';
|
|
1432
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1447
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getProductAgreement', displayE);
|
|
1433
1448
|
done();
|
|
1434
1449
|
} catch (err) {
|
|
1435
1450
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1446,7 +1461,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1446
1461
|
a.getProductAgreement('fakeparam', null, (data, error) => {
|
|
1447
1462
|
try {
|
|
1448
1463
|
const displayE = 'productId is required';
|
|
1449
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1464
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getProductAgreement', displayE);
|
|
1450
1465
|
done();
|
|
1451
1466
|
} catch (err) {
|
|
1452
1467
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1475,7 +1490,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1475
1490
|
a.getSslProducts(null, (data, error) => {
|
|
1476
1491
|
try {
|
|
1477
1492
|
const displayE = 'authKey is required';
|
|
1478
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1493
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getSslProducts', displayE);
|
|
1479
1494
|
done();
|
|
1480
1495
|
} catch (err) {
|
|
1481
1496
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1504,7 +1519,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1504
1519
|
a.getSslProduct(null, null, (data, error) => {
|
|
1505
1520
|
try {
|
|
1506
1521
|
const displayE = 'authKey is required';
|
|
1507
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1522
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getSslProduct', displayE);
|
|
1508
1523
|
done();
|
|
1509
1524
|
} catch (err) {
|
|
1510
1525
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1521,7 +1536,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1521
1536
|
a.getSslProduct('fakeparam', null, (data, error) => {
|
|
1522
1537
|
try {
|
|
1523
1538
|
const displayE = 'productId is required';
|
|
1524
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1539
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getSslProduct', displayE);
|
|
1525
1540
|
done();
|
|
1526
1541
|
} catch (err) {
|
|
1527
1542
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1550,7 +1565,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1550
1565
|
a.decodeCSR(null, (data, error) => {
|
|
1551
1566
|
try {
|
|
1552
1567
|
const displayE = 'csr is required';
|
|
1553
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1568
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-decodeCSR', displayE);
|
|
1554
1569
|
done();
|
|
1555
1570
|
} catch (err) {
|
|
1556
1571
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1579,7 +1594,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1579
1594
|
a.generateCSR(null, null, null, null, null, null, null, (data, error) => {
|
|
1580
1595
|
try {
|
|
1581
1596
|
const displayE = 'csrCommonname is required';
|
|
1582
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1597
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-generateCSR', displayE);
|
|
1583
1598
|
done();
|
|
1584
1599
|
} catch (err) {
|
|
1585
1600
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1596,7 +1611,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1596
1611
|
a.generateCSR('fakeparam', null, null, null, null, null, null, (data, error) => {
|
|
1597
1612
|
try {
|
|
1598
1613
|
const displayE = 'csrOrganization is required';
|
|
1599
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1614
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-generateCSR', displayE);
|
|
1600
1615
|
done();
|
|
1601
1616
|
} catch (err) {
|
|
1602
1617
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1613,7 +1628,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1613
1628
|
a.generateCSR('fakeparam', 'fakeparam', null, null, null, null, null, (data, error) => {
|
|
1614
1629
|
try {
|
|
1615
1630
|
const displayE = 'csrDepartment is required';
|
|
1616
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1631
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-generateCSR', displayE);
|
|
1617
1632
|
done();
|
|
1618
1633
|
} catch (err) {
|
|
1619
1634
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1630,7 +1645,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1630
1645
|
a.generateCSR('fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, (data, error) => {
|
|
1631
1646
|
try {
|
|
1632
1647
|
const displayE = 'csrCity is required';
|
|
1633
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1648
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-generateCSR', displayE);
|
|
1634
1649
|
done();
|
|
1635
1650
|
} catch (err) {
|
|
1636
1651
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1647,7 +1662,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1647
1662
|
a.generateCSR('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, (data, error) => {
|
|
1648
1663
|
try {
|
|
1649
1664
|
const displayE = 'csrState is required';
|
|
1650
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1665
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-generateCSR', displayE);
|
|
1651
1666
|
done();
|
|
1652
1667
|
} catch (err) {
|
|
1653
1668
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1664,7 +1679,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1664
1679
|
a.generateCSR('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
1665
1680
|
try {
|
|
1666
1681
|
const displayE = 'csrCountry is required';
|
|
1667
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1682
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-generateCSR', displayE);
|
|
1668
1683
|
done();
|
|
1669
1684
|
} catch (err) {
|
|
1670
1685
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1681,7 +1696,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1681
1696
|
a.generateCSR('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, (data, error) => {
|
|
1682
1697
|
try {
|
|
1683
1698
|
const displayE = 'csrEmail is required';
|
|
1684
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1699
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-generateCSR', displayE);
|
|
1685
1700
|
done();
|
|
1686
1701
|
} catch (err) {
|
|
1687
1702
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1710,7 +1725,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1710
1725
|
a.validateCSR(null, (data, error) => {
|
|
1711
1726
|
try {
|
|
1712
1727
|
const displayE = 'csr is required';
|
|
1713
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1728
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-validateCSR', displayE);
|
|
1714
1729
|
done();
|
|
1715
1730
|
} catch (err) {
|
|
1716
1731
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1739,7 +1754,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1739
1754
|
a.getDomainAlternative(null, null, (data, error) => {
|
|
1740
1755
|
try {
|
|
1741
1756
|
const displayE = 'authKey is required';
|
|
1742
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1757
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getDomainAlternative', displayE);
|
|
1743
1758
|
done();
|
|
1744
1759
|
} catch (err) {
|
|
1745
1760
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1756,7 +1771,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1756
1771
|
a.getDomainAlternative('fakeparam', null, (data, error) => {
|
|
1757
1772
|
try {
|
|
1758
1773
|
const displayE = 'csr is required';
|
|
1759
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1774
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getDomainAlternative', displayE);
|
|
1760
1775
|
done();
|
|
1761
1776
|
} catch (err) {
|
|
1762
1777
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1785,7 +1800,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1785
1800
|
a.getDomainEmails(null, null, (data, error) => {
|
|
1786
1801
|
try {
|
|
1787
1802
|
const displayE = 'authKey is required';
|
|
1788
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1803
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getDomainEmails', displayE);
|
|
1789
1804
|
done();
|
|
1790
1805
|
} catch (err) {
|
|
1791
1806
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1802,7 +1817,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1802
1817
|
a.getDomainEmails('fakeparam', null, (data, error) => {
|
|
1803
1818
|
try {
|
|
1804
1819
|
const displayE = 'domain is required';
|
|
1805
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1820
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getDomainEmails', displayE);
|
|
1806
1821
|
done();
|
|
1807
1822
|
} catch (err) {
|
|
1808
1823
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1831,7 +1846,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1831
1846
|
a.getDomainEmailsForGeotrust(null, null, (data, error) => {
|
|
1832
1847
|
try {
|
|
1833
1848
|
const displayE = 'authKey is required';
|
|
1834
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1849
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getDomainEmailsForGeotrust', displayE);
|
|
1835
1850
|
done();
|
|
1836
1851
|
} catch (err) {
|
|
1837
1852
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1848,7 +1863,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1848
1863
|
a.getDomainEmailsForGeotrust('fakeparam', null, (data, error) => {
|
|
1849
1864
|
try {
|
|
1850
1865
|
const displayE = 'domain is required';
|
|
1851
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1866
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getDomainEmailsForGeotrust', displayE);
|
|
1852
1867
|
done();
|
|
1853
1868
|
} catch (err) {
|
|
1854
1869
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1877,7 +1892,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1877
1892
|
a.domainGetFromWhois(null, null, (data, error) => {
|
|
1878
1893
|
try {
|
|
1879
1894
|
const displayE = 'authKey is required';
|
|
1880
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1895
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-domainGetFromWhois', displayE);
|
|
1881
1896
|
done();
|
|
1882
1897
|
} catch (err) {
|
|
1883
1898
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1894,7 +1909,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1894
1909
|
a.domainGetFromWhois('fakeparam', null, (data, error) => {
|
|
1895
1910
|
try {
|
|
1896
1911
|
const displayE = 'domain is required';
|
|
1897
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1912
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-domainGetFromWhois', displayE);
|
|
1898
1913
|
done();
|
|
1899
1914
|
} catch (err) {
|
|
1900
1915
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1923,7 +1938,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1923
1938
|
a.getWebServers(null, null, (data, error) => {
|
|
1924
1939
|
try {
|
|
1925
1940
|
const displayE = 'authKey is required';
|
|
1926
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1941
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getWebServers', displayE);
|
|
1927
1942
|
done();
|
|
1928
1943
|
} catch (err) {
|
|
1929
1944
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1940,7 +1955,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1940
1955
|
a.getWebServers('fakeparam', null, (data, error) => {
|
|
1941
1956
|
try {
|
|
1942
1957
|
const displayE = 'supplierId is required';
|
|
1943
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1958
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getWebServers', displayE);
|
|
1944
1959
|
done();
|
|
1945
1960
|
} catch (err) {
|
|
1946
1961
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1969,7 +1984,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1969
1984
|
a.getAccountDetails(null, (data, error) => {
|
|
1970
1985
|
try {
|
|
1971
1986
|
const displayE = 'authKey is required';
|
|
1972
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
1987
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getAccountDetails', displayE);
|
|
1973
1988
|
done();
|
|
1974
1989
|
} catch (err) {
|
|
1975
1990
|
log.error(`Test Failure: ${err}`);
|
|
@@ -1998,7 +2013,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
1998
2013
|
a.getAccountBalance(null, (data, error) => {
|
|
1999
2014
|
try {
|
|
2000
2015
|
const displayE = 'authKey is required';
|
|
2001
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2016
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getAccountBalance', displayE);
|
|
2002
2017
|
done();
|
|
2003
2018
|
} catch (err) {
|
|
2004
2019
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2027,7 +2042,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2027
2042
|
a.createNewLEI(null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
2028
2043
|
try {
|
|
2029
2044
|
const displayE = 'authKey is required';
|
|
2030
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2045
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-createNewLEI', displayE);
|
|
2031
2046
|
done();
|
|
2032
2047
|
} catch (err) {
|
|
2033
2048
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2044,7 +2059,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2044
2059
|
a.createNewLEI('fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
2045
2060
|
try {
|
|
2046
2061
|
const displayE = 'test is required';
|
|
2047
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2062
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-createNewLEI', displayE);
|
|
2048
2063
|
done();
|
|
2049
2064
|
} catch (err) {
|
|
2050
2065
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2061,7 +2076,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2061
2076
|
a.createNewLEI('fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
2062
2077
|
try {
|
|
2063
2078
|
const displayE = 'productId is required';
|
|
2064
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2079
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-createNewLEI', displayE);
|
|
2065
2080
|
done();
|
|
2066
2081
|
} catch (err) {
|
|
2067
2082
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2078,7 +2093,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2078
2093
|
a.createNewLEI('fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
2079
2094
|
try {
|
|
2080
2095
|
const displayE = 'legalName is required';
|
|
2081
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2096
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-createNewLEI', displayE);
|
|
2082
2097
|
done();
|
|
2083
2098
|
} catch (err) {
|
|
2084
2099
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2095,7 +2110,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2095
2110
|
a.createNewLEI('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
2096
2111
|
try {
|
|
2097
2112
|
const displayE = 'lastName is required';
|
|
2098
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2113
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-createNewLEI', displayE);
|
|
2099
2114
|
done();
|
|
2100
2115
|
} catch (err) {
|
|
2101
2116
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2112,7 +2127,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2112
2127
|
a.createNewLEI('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, (data, error) => {
|
|
2113
2128
|
try {
|
|
2114
2129
|
const displayE = 'isLevel2DataAvailable is required';
|
|
2115
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2130
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-createNewLEI', displayE);
|
|
2116
2131
|
done();
|
|
2117
2132
|
} catch (err) {
|
|
2118
2133
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2129,7 +2144,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2129
2144
|
a.createNewLEI('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, (data, error) => {
|
|
2130
2145
|
try {
|
|
2131
2146
|
const displayE = 'incorporationDate is required';
|
|
2132
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2147
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-createNewLEI', displayE);
|
|
2133
2148
|
done();
|
|
2134
2149
|
} catch (err) {
|
|
2135
2150
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2146,7 +2161,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2146
2161
|
a.createNewLEI('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, (data, error) => {
|
|
2147
2162
|
try {
|
|
2148
2163
|
const displayE = 'legalState is required';
|
|
2149
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2164
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-createNewLEI', displayE);
|
|
2150
2165
|
done();
|
|
2151
2166
|
} catch (err) {
|
|
2152
2167
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2163,7 +2178,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2163
2178
|
a.createNewLEI('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, (data, error) => {
|
|
2164
2179
|
try {
|
|
2165
2180
|
const displayE = 'legalPostal is required';
|
|
2166
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2181
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-createNewLEI', displayE);
|
|
2167
2182
|
done();
|
|
2168
2183
|
} catch (err) {
|
|
2169
2184
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2180,7 +2195,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2180
2195
|
a.createNewLEI('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, (data, error) => {
|
|
2181
2196
|
try {
|
|
2182
2197
|
const displayE = 'legalfirstAddressLine is required';
|
|
2183
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2198
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-createNewLEI', displayE);
|
|
2184
2199
|
done();
|
|
2185
2200
|
} catch (err) {
|
|
2186
2201
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2197,7 +2212,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2197
2212
|
a.createNewLEI('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, (data, error) => {
|
|
2198
2213
|
try {
|
|
2199
2214
|
const displayE = 'legalCountry is required';
|
|
2200
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2215
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-createNewLEI', displayE);
|
|
2201
2216
|
done();
|
|
2202
2217
|
} catch (err) {
|
|
2203
2218
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2214,7 +2229,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2214
2229
|
a.createNewLEI('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
2215
2230
|
try {
|
|
2216
2231
|
const displayE = 'legalCity is required';
|
|
2217
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2232
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-createNewLEI', displayE);
|
|
2218
2233
|
done();
|
|
2219
2234
|
} catch (err) {
|
|
2220
2235
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2231,7 +2246,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2231
2246
|
a.createNewLEI('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, (data, error) => {
|
|
2232
2247
|
try {
|
|
2233
2248
|
const displayE = 'multiYearSupport is required';
|
|
2234
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2249
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-createNewLEI', displayE);
|
|
2235
2250
|
done();
|
|
2236
2251
|
} catch (err) {
|
|
2237
2252
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2260,7 +2275,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2260
2275
|
a.getLEIJurisdictions(null, (data, error) => {
|
|
2261
2276
|
try {
|
|
2262
2277
|
const displayE = 'authKey is required';
|
|
2263
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2278
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getLEIJurisdictions', displayE);
|
|
2264
2279
|
done();
|
|
2265
2280
|
} catch (err) {
|
|
2266
2281
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2289,7 +2304,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2289
2304
|
a.confirmLEIDataQuality(null, null, null, (data, error) => {
|
|
2290
2305
|
try {
|
|
2291
2306
|
const displayE = 'authKey is required';
|
|
2292
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2307
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-confirmLEIDataQuality', displayE);
|
|
2293
2308
|
done();
|
|
2294
2309
|
} catch (err) {
|
|
2295
2310
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2306,7 +2321,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2306
2321
|
a.confirmLEIDataQuality('fakeparam', null, null, (data, error) => {
|
|
2307
2322
|
try {
|
|
2308
2323
|
const displayE = 'orderId is required';
|
|
2309
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2324
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-confirmLEIDataQuality', displayE);
|
|
2310
2325
|
done();
|
|
2311
2326
|
} catch (err) {
|
|
2312
2327
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2323,7 +2338,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2323
2338
|
a.confirmLEIDataQuality('fakeparam', 'fakeparam', null, (data, error) => {
|
|
2324
2339
|
try {
|
|
2325
2340
|
const displayE = 'confirm is required';
|
|
2326
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2341
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-confirmLEIDataQuality', displayE);
|
|
2327
2342
|
done();
|
|
2328
2343
|
} catch (err) {
|
|
2329
2344
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2352,7 +2367,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2352
2367
|
a.getLeiStatus(null, null, (data, error) => {
|
|
2353
2368
|
try {
|
|
2354
2369
|
const displayE = 'authKey is required';
|
|
2355
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2370
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getLeiStatus', displayE);
|
|
2356
2371
|
done();
|
|
2357
2372
|
} catch (err) {
|
|
2358
2373
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2369,7 +2384,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2369
2384
|
a.getLeiStatus('fakeparam', null, (data, error) => {
|
|
2370
2385
|
try {
|
|
2371
2386
|
const displayE = 'orderId is required';
|
|
2372
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2387
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getLeiStatus', displayE);
|
|
2373
2388
|
done();
|
|
2374
2389
|
} catch (err) {
|
|
2375
2390
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2398,7 +2413,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2398
2413
|
a.renewLEI(null, null, null, null, null, (data, error) => {
|
|
2399
2414
|
try {
|
|
2400
2415
|
const displayE = 'authKey is required';
|
|
2401
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2416
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-renewLEI', displayE);
|
|
2402
2417
|
done();
|
|
2403
2418
|
} catch (err) {
|
|
2404
2419
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2415,7 +2430,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2415
2430
|
a.renewLEI('fakeparam', null, null, null, null, (data, error) => {
|
|
2416
2431
|
try {
|
|
2417
2432
|
const displayE = 'orderId is required';
|
|
2418
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2433
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-renewLEI', displayE);
|
|
2419
2434
|
done();
|
|
2420
2435
|
} catch (err) {
|
|
2421
2436
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2432,7 +2447,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2432
2447
|
a.renewLEI('fakeparam', 'fakeparam', null, null, null, (data, error) => {
|
|
2433
2448
|
try {
|
|
2434
2449
|
const displayE = 'isLevel1DataSame is required';
|
|
2435
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2450
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-renewLEI', displayE);
|
|
2436
2451
|
done();
|
|
2437
2452
|
} catch (err) {
|
|
2438
2453
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2449,7 +2464,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2449
2464
|
a.renewLEI('fakeparam', 'fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
2450
2465
|
try {
|
|
2451
2466
|
const displayE = 'firstName is required';
|
|
2452
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2467
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-renewLEI', displayE);
|
|
2453
2468
|
done();
|
|
2454
2469
|
} catch (err) {
|
|
2455
2470
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2466,7 +2481,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2466
2481
|
a.renewLEI('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, (data, error) => {
|
|
2467
2482
|
try {
|
|
2468
2483
|
const displayE = 'lastName is required';
|
|
2469
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2484
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-renewLEI', displayE);
|
|
2470
2485
|
done();
|
|
2471
2486
|
} catch (err) {
|
|
2472
2487
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2495,7 +2510,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2495
2510
|
a.leiLoolup(null, null, (data, error) => {
|
|
2496
2511
|
try {
|
|
2497
2512
|
const displayE = 'authKey is required';
|
|
2498
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2513
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-leiLoolup', displayE);
|
|
2499
2514
|
done();
|
|
2500
2515
|
} catch (err) {
|
|
2501
2516
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2512,7 +2527,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2512
2527
|
a.leiLoolup('fakeparam', null, (data, error) => {
|
|
2513
2528
|
try {
|
|
2514
2529
|
const displayE = 'query is required';
|
|
2515
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2530
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-leiLoolup', displayE);
|
|
2516
2531
|
done();
|
|
2517
2532
|
} catch (err) {
|
|
2518
2533
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2541,7 +2556,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2541
2556
|
a.addSSLOrder(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
2542
2557
|
try {
|
|
2543
2558
|
const displayE = 'authKey is required';
|
|
2544
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2559
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2545
2560
|
done();
|
|
2546
2561
|
} catch (err) {
|
|
2547
2562
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2558,7 +2573,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2558
2573
|
a.addSSLOrder('fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
2559
2574
|
try {
|
|
2560
2575
|
const displayE = 'productId is required';
|
|
2561
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2576
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2562
2577
|
done();
|
|
2563
2578
|
} catch (err) {
|
|
2564
2579
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2575,7 +2590,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2575
2590
|
a.addSSLOrder('fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
2576
2591
|
try {
|
|
2577
2592
|
const displayE = 'csr is required';
|
|
2578
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2593
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2579
2594
|
done();
|
|
2580
2595
|
} catch (err) {
|
|
2581
2596
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2592,7 +2607,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2592
2607
|
a.addSSLOrder('fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
2593
2608
|
try {
|
|
2594
2609
|
const displayE = 'serverCount is required';
|
|
2595
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2610
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2596
2611
|
done();
|
|
2597
2612
|
} catch (err) {
|
|
2598
2613
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2609,7 +2624,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2609
2624
|
a.addSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
2610
2625
|
try {
|
|
2611
2626
|
const displayE = 'period is required';
|
|
2612
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2627
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2613
2628
|
done();
|
|
2614
2629
|
} catch (err) {
|
|
2615
2630
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2626,7 +2641,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2626
2641
|
a.addSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
2627
2642
|
try {
|
|
2628
2643
|
const displayE = 'webserverType is required';
|
|
2629
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2644
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2630
2645
|
done();
|
|
2631
2646
|
} catch (err) {
|
|
2632
2647
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2643,7 +2658,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2643
2658
|
a.addSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
2644
2659
|
try {
|
|
2645
2660
|
const displayE = 'adminFirstname is required';
|
|
2646
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2661
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2647
2662
|
done();
|
|
2648
2663
|
} catch (err) {
|
|
2649
2664
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2660,7 +2675,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2660
2675
|
a.addSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
2661
2676
|
try {
|
|
2662
2677
|
const displayE = 'adminLastname is required';
|
|
2663
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2678
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2664
2679
|
done();
|
|
2665
2680
|
} catch (err) {
|
|
2666
2681
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2677,7 +2692,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2677
2692
|
a.addSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
2678
2693
|
try {
|
|
2679
2694
|
const displayE = 'adminPhone is required';
|
|
2680
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2695
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2681
2696
|
done();
|
|
2682
2697
|
} catch (err) {
|
|
2683
2698
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2694,7 +2709,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2694
2709
|
a.addSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
2695
2710
|
try {
|
|
2696
2711
|
const displayE = 'adminTitle is required';
|
|
2697
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2712
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2698
2713
|
done();
|
|
2699
2714
|
} catch (err) {
|
|
2700
2715
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2711,7 +2726,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2711
2726
|
a.addSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
2712
2727
|
try {
|
|
2713
2728
|
const displayE = 'adminEmail is required';
|
|
2714
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2729
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2715
2730
|
done();
|
|
2716
2731
|
} catch (err) {
|
|
2717
2732
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2728,7 +2743,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2728
2743
|
a.addSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
2729
2744
|
try {
|
|
2730
2745
|
const displayE = 'adminCity is required';
|
|
2731
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2746
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2732
2747
|
done();
|
|
2733
2748
|
} catch (err) {
|
|
2734
2749
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2745,7 +2760,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2745
2760
|
a.addSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
2746
2761
|
try {
|
|
2747
2762
|
const displayE = 'adminCountry is required';
|
|
2748
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2763
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2749
2764
|
done();
|
|
2750
2765
|
} catch (err) {
|
|
2751
2766
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2762,7 +2777,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2762
2777
|
a.addSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
2763
2778
|
try {
|
|
2764
2779
|
const displayE = 'adminPostalcode is required';
|
|
2765
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2780
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2766
2781
|
done();
|
|
2767
2782
|
} catch (err) {
|
|
2768
2783
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2779,7 +2794,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2779
2794
|
a.addSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, (data, error) => {
|
|
2780
2795
|
try {
|
|
2781
2796
|
const displayE = 'dcvMethod is required';
|
|
2782
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2797
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2783
2798
|
done();
|
|
2784
2799
|
} catch (err) {
|
|
2785
2800
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2796,7 +2811,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2796
2811
|
a.addSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, (data, error) => {
|
|
2797
2812
|
try {
|
|
2798
2813
|
const displayE = 'techFirstname is required';
|
|
2799
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2814
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2800
2815
|
done();
|
|
2801
2816
|
} catch (err) {
|
|
2802
2817
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2813,7 +2828,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2813
2828
|
a.addSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, (data, error) => {
|
|
2814
2829
|
try {
|
|
2815
2830
|
const displayE = 'techLastname is required';
|
|
2816
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2831
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2817
2832
|
done();
|
|
2818
2833
|
} catch (err) {
|
|
2819
2834
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2830,7 +2845,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2830
2845
|
a.addSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, (data, error) => {
|
|
2831
2846
|
try {
|
|
2832
2847
|
const displayE = 'techPhone is required';
|
|
2833
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2848
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2834
2849
|
done();
|
|
2835
2850
|
} catch (err) {
|
|
2836
2851
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2847,7 +2862,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2847
2862
|
a.addSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, (data, error) => {
|
|
2848
2863
|
try {
|
|
2849
2864
|
const displayE = 'techTitle is required';
|
|
2850
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2865
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2851
2866
|
done();
|
|
2852
2867
|
} catch (err) {
|
|
2853
2868
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2864,7 +2879,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2864
2879
|
a.addSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, (data, error) => {
|
|
2865
2880
|
try {
|
|
2866
2881
|
const displayE = 'techEmail is required';
|
|
2867
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2882
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2868
2883
|
done();
|
|
2869
2884
|
} catch (err) {
|
|
2870
2885
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2881,7 +2896,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2881
2896
|
a.addSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
2882
2897
|
try {
|
|
2883
2898
|
const displayE = 'techAddressline1 is required';
|
|
2884
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2899
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2885
2900
|
done();
|
|
2886
2901
|
} catch (err) {
|
|
2887
2902
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2898,7 +2913,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2898
2913
|
a.addSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, (data, error) => {
|
|
2899
2914
|
try {
|
|
2900
2915
|
const displayE = 'adminAddressline1 is required';
|
|
2901
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2916
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLOrder', displayE);
|
|
2902
2917
|
done();
|
|
2903
2918
|
} catch (err) {
|
|
2904
2919
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2927,7 +2942,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2927
2942
|
a.reissueSSLOrder(null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
2928
2943
|
try {
|
|
2929
2944
|
const displayE = 'authKey is required';
|
|
2930
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2945
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-reissueSSLOrder', displayE);
|
|
2931
2946
|
done();
|
|
2932
2947
|
} catch (err) {
|
|
2933
2948
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2944,7 +2959,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2944
2959
|
a.reissueSSLOrder('fakeparam', null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
2945
2960
|
try {
|
|
2946
2961
|
const displayE = 'orderId is required';
|
|
2947
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2962
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-reissueSSLOrder', displayE);
|
|
2948
2963
|
done();
|
|
2949
2964
|
} catch (err) {
|
|
2950
2965
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2961,7 +2976,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2961
2976
|
a.reissueSSLOrder('fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, (data, error) => {
|
|
2962
2977
|
try {
|
|
2963
2978
|
const displayE = 'webserverType is required';
|
|
2964
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2979
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-reissueSSLOrder', displayE);
|
|
2965
2980
|
done();
|
|
2966
2981
|
} catch (err) {
|
|
2967
2982
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2978,7 +2993,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2978
2993
|
a.reissueSSLOrder('fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, (data, error) => {
|
|
2979
2994
|
try {
|
|
2980
2995
|
const displayE = 'csr is required';
|
|
2981
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
2996
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-reissueSSLOrder', displayE);
|
|
2982
2997
|
done();
|
|
2983
2998
|
} catch (err) {
|
|
2984
2999
|
log.error(`Test Failure: ${err}`);
|
|
@@ -2995,7 +3010,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
2995
3010
|
a.reissueSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, (data, error) => {
|
|
2996
3011
|
try {
|
|
2997
3012
|
const displayE = 'dcvMethod is required';
|
|
2998
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3013
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-reissueSSLOrder', displayE);
|
|
2999
3014
|
done();
|
|
3000
3015
|
} catch (err) {
|
|
3001
3016
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3012,7 +3027,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3012
3027
|
a.reissueSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, (data, error) => {
|
|
3013
3028
|
try {
|
|
3014
3029
|
const displayE = 'dnsNames is required';
|
|
3015
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3030
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-reissueSSLOrder', displayE);
|
|
3016
3031
|
done();
|
|
3017
3032
|
} catch (err) {
|
|
3018
3033
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3029,7 +3044,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3029
3044
|
a.reissueSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, (data, error) => {
|
|
3030
3045
|
try {
|
|
3031
3046
|
const displayE = 'approverEmails is required';
|
|
3032
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3047
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-reissueSSLOrder', displayE);
|
|
3033
3048
|
done();
|
|
3034
3049
|
} catch (err) {
|
|
3035
3050
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3046,7 +3061,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3046
3061
|
a.reissueSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, (data, error) => {
|
|
3047
3062
|
try {
|
|
3048
3063
|
const displayE = 'approverEmail is required';
|
|
3049
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3064
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-reissueSSLOrder', displayE);
|
|
3050
3065
|
done();
|
|
3051
3066
|
} catch (err) {
|
|
3052
3067
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3063,7 +3078,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3063
3078
|
a.reissueSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
3064
3079
|
try {
|
|
3065
3080
|
const displayE = 'signatureHash is required';
|
|
3066
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3081
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-reissueSSLOrder', displayE);
|
|
3067
3082
|
done();
|
|
3068
3083
|
} catch (err) {
|
|
3069
3084
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3080,7 +3095,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3080
3095
|
a.reissueSSLOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, (data, error) => {
|
|
3081
3096
|
try {
|
|
3082
3097
|
const displayE = 'uniqueCode is required';
|
|
3083
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3098
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-reissueSSLOrder', displayE);
|
|
3084
3099
|
done();
|
|
3085
3100
|
} catch (err) {
|
|
3086
3101
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3109,7 +3124,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3109
3124
|
a.addSSLRenewOrder(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3110
3125
|
try {
|
|
3111
3126
|
const displayE = 'authKey is required';
|
|
3112
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3127
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3113
3128
|
done();
|
|
3114
3129
|
} catch (err) {
|
|
3115
3130
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3126,7 +3141,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3126
3141
|
a.addSSLRenewOrder('fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3127
3142
|
try {
|
|
3128
3143
|
const displayE = 'productId is required';
|
|
3129
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3144
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3130
3145
|
done();
|
|
3131
3146
|
} catch (err) {
|
|
3132
3147
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3143,7 +3158,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3143
3158
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3144
3159
|
try {
|
|
3145
3160
|
const displayE = 'csr is required';
|
|
3146
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3161
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3147
3162
|
done();
|
|
3148
3163
|
} catch (err) {
|
|
3149
3164
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3160,7 +3175,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3160
3175
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3161
3176
|
try {
|
|
3162
3177
|
const displayE = 'serverCount is required';
|
|
3163
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3178
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3164
3179
|
done();
|
|
3165
3180
|
} catch (err) {
|
|
3166
3181
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3177,7 +3192,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3177
3192
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3178
3193
|
try {
|
|
3179
3194
|
const displayE = 'period is required';
|
|
3180
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3195
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3181
3196
|
done();
|
|
3182
3197
|
} catch (err) {
|
|
3183
3198
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3194,7 +3209,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3194
3209
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3195
3210
|
try {
|
|
3196
3211
|
const displayE = 'approverEmail is required';
|
|
3197
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3212
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3198
3213
|
done();
|
|
3199
3214
|
} catch (err) {
|
|
3200
3215
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3211,7 +3226,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3211
3226
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3212
3227
|
try {
|
|
3213
3228
|
const displayE = 'webserverType is required';
|
|
3214
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3229
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3215
3230
|
done();
|
|
3216
3231
|
} catch (err) {
|
|
3217
3232
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3228,7 +3243,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3228
3243
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3229
3244
|
try {
|
|
3230
3245
|
const displayE = 'adminFirstname is required';
|
|
3231
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3246
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3232
3247
|
done();
|
|
3233
3248
|
} catch (err) {
|
|
3234
3249
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3245,7 +3260,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3245
3260
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3246
3261
|
try {
|
|
3247
3262
|
const displayE = 'adminLastname is required';
|
|
3248
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3263
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3249
3264
|
done();
|
|
3250
3265
|
} catch (err) {
|
|
3251
3266
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3262,7 +3277,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3262
3277
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3263
3278
|
try {
|
|
3264
3279
|
const displayE = 'adminPhone is required';
|
|
3265
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3280
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3266
3281
|
done();
|
|
3267
3282
|
} catch (err) {
|
|
3268
3283
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3279,7 +3294,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3279
3294
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3280
3295
|
try {
|
|
3281
3296
|
const displayE = 'adminTitle is required';
|
|
3282
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3297
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3283
3298
|
done();
|
|
3284
3299
|
} catch (err) {
|
|
3285
3300
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3296,7 +3311,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3296
3311
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3297
3312
|
try {
|
|
3298
3313
|
const displayE = 'adminEmail is required';
|
|
3299
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3314
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3300
3315
|
done();
|
|
3301
3316
|
} catch (err) {
|
|
3302
3317
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3313,7 +3328,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3313
3328
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3314
3329
|
try {
|
|
3315
3330
|
const displayE = 'adminCity is required';
|
|
3316
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3331
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3317
3332
|
done();
|
|
3318
3333
|
} catch (err) {
|
|
3319
3334
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3330,7 +3345,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3330
3345
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3331
3346
|
try {
|
|
3332
3347
|
const displayE = 'adminCountry is required';
|
|
3333
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3348
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3334
3349
|
done();
|
|
3335
3350
|
} catch (err) {
|
|
3336
3351
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3347,7 +3362,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3347
3362
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3348
3363
|
try {
|
|
3349
3364
|
const displayE = 'adminOrganization is required';
|
|
3350
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3365
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3351
3366
|
done();
|
|
3352
3367
|
} catch (err) {
|
|
3353
3368
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3364,7 +3379,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3364
3379
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3365
3380
|
try {
|
|
3366
3381
|
const displayE = 'dcvMethod is required';
|
|
3367
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3382
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3368
3383
|
done();
|
|
3369
3384
|
} catch (err) {
|
|
3370
3385
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3381,7 +3396,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3381
3396
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3382
3397
|
try {
|
|
3383
3398
|
const displayE = 'techFirstname is required';
|
|
3384
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3399
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3385
3400
|
done();
|
|
3386
3401
|
} catch (err) {
|
|
3387
3402
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3398,7 +3413,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3398
3413
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3399
3414
|
try {
|
|
3400
3415
|
const displayE = 'techLastname is required';
|
|
3401
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3416
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3402
3417
|
done();
|
|
3403
3418
|
} catch (err) {
|
|
3404
3419
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3415,7 +3430,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3415
3430
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3416
3431
|
try {
|
|
3417
3432
|
const displayE = 'techPhone is required';
|
|
3418
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3433
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3419
3434
|
done();
|
|
3420
3435
|
} catch (err) {
|
|
3421
3436
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3432,7 +3447,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3432
3447
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3433
3448
|
try {
|
|
3434
3449
|
const displayE = 'techTitle is required';
|
|
3435
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3450
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3436
3451
|
done();
|
|
3437
3452
|
} catch (err) {
|
|
3438
3453
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3449,7 +3464,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3449
3464
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3450
3465
|
try {
|
|
3451
3466
|
const displayE = 'techEmail is required';
|
|
3452
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3467
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3453
3468
|
done();
|
|
3454
3469
|
} catch (err) {
|
|
3455
3470
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3466,7 +3481,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3466
3481
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3467
3482
|
try {
|
|
3468
3483
|
const displayE = 'techAddressline1 is required';
|
|
3469
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3484
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3470
3485
|
done();
|
|
3471
3486
|
} catch (err) {
|
|
3472
3487
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3483,7 +3498,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3483
3498
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3484
3499
|
try {
|
|
3485
3500
|
const displayE = 'adminAddressline1 is required';
|
|
3486
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3501
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3487
3502
|
done();
|
|
3488
3503
|
} catch (err) {
|
|
3489
3504
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3500,7 +3515,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3500
3515
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3501
3516
|
try {
|
|
3502
3517
|
const displayE = 'techOrganization is required';
|
|
3503
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3518
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3504
3519
|
done();
|
|
3505
3520
|
} catch (err) {
|
|
3506
3521
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3517,7 +3532,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3517
3532
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3518
3533
|
try {
|
|
3519
3534
|
const displayE = 'techCity is required';
|
|
3520
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3535
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3521
3536
|
done();
|
|
3522
3537
|
} catch (err) {
|
|
3523
3538
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3534,7 +3549,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3534
3549
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3535
3550
|
try {
|
|
3536
3551
|
const displayE = 'techCountry is required';
|
|
3537
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3552
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3538
3553
|
done();
|
|
3539
3554
|
} catch (err) {
|
|
3540
3555
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3551,7 +3566,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3551
3566
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3552
3567
|
try {
|
|
3553
3568
|
const displayE = 'orgDivision is required';
|
|
3554
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3569
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3555
3570
|
done();
|
|
3556
3571
|
} catch (err) {
|
|
3557
3572
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3568,7 +3583,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3568
3583
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3569
3584
|
try {
|
|
3570
3585
|
const displayE = 'orgAddressline1 is required';
|
|
3571
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3586
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3572
3587
|
done();
|
|
3573
3588
|
} catch (err) {
|
|
3574
3589
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3585,7 +3600,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3585
3600
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, null, (data, error) => {
|
|
3586
3601
|
try {
|
|
3587
3602
|
const displayE = 'orgCity is required';
|
|
3588
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3603
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3589
3604
|
done();
|
|
3590
3605
|
} catch (err) {
|
|
3591
3606
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3602,7 +3617,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3602
3617
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, null, (data, error) => {
|
|
3603
3618
|
try {
|
|
3604
3619
|
const displayE = 'orgCountry is required';
|
|
3605
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3620
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3606
3621
|
done();
|
|
3607
3622
|
} catch (err) {
|
|
3608
3623
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3619,7 +3634,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3619
3634
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, null, (data, error) => {
|
|
3620
3635
|
try {
|
|
3621
3636
|
const displayE = 'orgPhone is required';
|
|
3622
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3637
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3623
3638
|
done();
|
|
3624
3639
|
} catch (err) {
|
|
3625
3640
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3636,7 +3651,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3636
3651
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, null, (data, error) => {
|
|
3637
3652
|
try {
|
|
3638
3653
|
const displayE = 'orgPostalcode is required';
|
|
3639
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3654
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3640
3655
|
done();
|
|
3641
3656
|
} catch (err) {
|
|
3642
3657
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3653,7 +3668,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3653
3668
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, null, (data, error) => {
|
|
3654
3669
|
try {
|
|
3655
3670
|
const displayE = 'orgRegion is required';
|
|
3656
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3671
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3657
3672
|
done();
|
|
3658
3673
|
} catch (err) {
|
|
3659
3674
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3670,7 +3685,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3670
3685
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, null, (data, error) => {
|
|
3671
3686
|
try {
|
|
3672
3687
|
const displayE = 'approverEmails is required';
|
|
3673
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3688
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3674
3689
|
done();
|
|
3675
3690
|
} catch (err) {
|
|
3676
3691
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3687,7 +3702,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3687
3702
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, null, (data, error) => {
|
|
3688
3703
|
try {
|
|
3689
3704
|
const displayE = 'dnsNames is required';
|
|
3690
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3705
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3691
3706
|
done();
|
|
3692
3707
|
} catch (err) {
|
|
3693
3708
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3704,7 +3719,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3704
3719
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
3705
3720
|
try {
|
|
3706
3721
|
const displayE = 'signatureHash is required';
|
|
3707
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3722
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3708
3723
|
done();
|
|
3709
3724
|
} catch (err) {
|
|
3710
3725
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3721,7 +3736,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3721
3736
|
a.addSSLRenewOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, (data, error) => {
|
|
3722
3737
|
try {
|
|
3723
3738
|
const displayE = 'test is required';
|
|
3724
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3739
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLRenewOrder', displayE);
|
|
3725
3740
|
done();
|
|
3726
3741
|
} catch (err) {
|
|
3727
3742
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3750,7 +3765,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3750
3765
|
a.addSSLSANOrder(null, null, null, null, null, (data, error) => {
|
|
3751
3766
|
try {
|
|
3752
3767
|
const displayE = 'authKey is required';
|
|
3753
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3768
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLSANOrder', displayE);
|
|
3754
3769
|
done();
|
|
3755
3770
|
} catch (err) {
|
|
3756
3771
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3767,7 +3782,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3767
3782
|
a.addSSLSANOrder('fakeparam', null, null, null, null, (data, error) => {
|
|
3768
3783
|
try {
|
|
3769
3784
|
const displayE = 'orderId is required';
|
|
3770
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3785
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLSANOrder', displayE);
|
|
3771
3786
|
done();
|
|
3772
3787
|
} catch (err) {
|
|
3773
3788
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3784,7 +3799,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3784
3799
|
a.addSSLSANOrder('fakeparam', 'fakeparam', null, null, null, (data, error) => {
|
|
3785
3800
|
try {
|
|
3786
3801
|
const displayE = 'count is required';
|
|
3787
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3802
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLSANOrder', displayE);
|
|
3788
3803
|
done();
|
|
3789
3804
|
} catch (err) {
|
|
3790
3805
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3801,7 +3816,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3801
3816
|
a.addSSLSANOrder('fakeparam', 'fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
3802
3817
|
try {
|
|
3803
3818
|
const displayE = 'wildcardSanCount is required';
|
|
3804
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3819
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLSANOrder', displayE);
|
|
3805
3820
|
done();
|
|
3806
3821
|
} catch (err) {
|
|
3807
3822
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3818,7 +3833,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3818
3833
|
a.addSSLSANOrder('fakeparam', 'fakeparam', 'fakeparam', 'fakeparam', null, (data, error) => {
|
|
3819
3834
|
try {
|
|
3820
3835
|
const displayE = 'singleSanCount is required';
|
|
3821
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3836
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-addSSLSANOrder', displayE);
|
|
3822
3837
|
done();
|
|
3823
3838
|
} catch (err) {
|
|
3824
3839
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3847,7 +3862,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3847
3862
|
a.cancelOrder(null, null, null, (data, error) => {
|
|
3848
3863
|
try {
|
|
3849
3864
|
const displayE = 'authKey is required';
|
|
3850
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3865
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-cancelOrder', displayE);
|
|
3851
3866
|
done();
|
|
3852
3867
|
} catch (err) {
|
|
3853
3868
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3864,7 +3879,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3864
3879
|
a.cancelOrder('fakeparam', null, null, (data, error) => {
|
|
3865
3880
|
try {
|
|
3866
3881
|
const displayE = 'orderId is required';
|
|
3867
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3882
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-cancelOrder', displayE);
|
|
3868
3883
|
done();
|
|
3869
3884
|
} catch (err) {
|
|
3870
3885
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3881,7 +3896,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3881
3896
|
a.cancelOrder('fakeparam', 'fakeparam', null, (data, error) => {
|
|
3882
3897
|
try {
|
|
3883
3898
|
const displayE = 'reason is required';
|
|
3884
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3899
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-cancelOrder', displayE);
|
|
3885
3900
|
done();
|
|
3886
3901
|
} catch (err) {
|
|
3887
3902
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3910,7 +3925,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3910
3925
|
a.getOrdersStatuses(null, null, (data, error) => {
|
|
3911
3926
|
try {
|
|
3912
3927
|
const displayE = 'authKey is required';
|
|
3913
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3928
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getOrdersStatuses', displayE);
|
|
3914
3929
|
done();
|
|
3915
3930
|
} catch (err) {
|
|
3916
3931
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3927,7 +3942,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3927
3942
|
a.getOrdersStatuses('fakeparam', null, (data, error) => {
|
|
3928
3943
|
try {
|
|
3929
3944
|
const displayE = 'cids is required';
|
|
3930
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3945
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getOrdersStatuses', displayE);
|
|
3931
3946
|
done();
|
|
3932
3947
|
} catch (err) {
|
|
3933
3948
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3956,7 +3971,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3956
3971
|
a.getOrderStatus(null, null, (data, error) => {
|
|
3957
3972
|
try {
|
|
3958
3973
|
const displayE = 'authKey is required';
|
|
3959
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3974
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getOrderStatus', displayE);
|
|
3960
3975
|
done();
|
|
3961
3976
|
} catch (err) {
|
|
3962
3977
|
log.error(`Test Failure: ${err}`);
|
|
@@ -3973,7 +3988,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
3973
3988
|
a.getOrderStatus('fakeparam', null, (data, error) => {
|
|
3974
3989
|
try {
|
|
3975
3990
|
const displayE = 'orderId is required';
|
|
3976
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
3991
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getOrderStatus', displayE);
|
|
3977
3992
|
done();
|
|
3978
3993
|
} catch (err) {
|
|
3979
3994
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4002,7 +4017,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4002
4017
|
a.recheckCAA(null, null, (data, error) => {
|
|
4003
4018
|
try {
|
|
4004
4019
|
const displayE = 'authKey is required';
|
|
4005
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4020
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-recheckCAA', displayE);
|
|
4006
4021
|
done();
|
|
4007
4022
|
} catch (err) {
|
|
4008
4023
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4019,7 +4034,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4019
4034
|
a.recheckCAA('fakeparam', null, (data, error) => {
|
|
4020
4035
|
try {
|
|
4021
4036
|
const displayE = 'orderId is required';
|
|
4022
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4037
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-recheckCAA', displayE);
|
|
4023
4038
|
done();
|
|
4024
4039
|
} catch (err) {
|
|
4025
4040
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4048,7 +4063,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4048
4063
|
a.getUnpaidOrders(null, (data, error) => {
|
|
4049
4064
|
try {
|
|
4050
4065
|
const displayE = 'authKey is required';
|
|
4051
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4066
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getUnpaidOrders', displayE);
|
|
4052
4067
|
done();
|
|
4053
4068
|
} catch (err) {
|
|
4054
4069
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4077,7 +4092,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4077
4092
|
a.getAllSSLOrders(null, null, null, (data, error) => {
|
|
4078
4093
|
try {
|
|
4079
4094
|
const displayE = 'authKey is required';
|
|
4080
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4095
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getAllSSLOrders', displayE);
|
|
4081
4096
|
done();
|
|
4082
4097
|
} catch (err) {
|
|
4083
4098
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4094,7 +4109,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4094
4109
|
a.getAllSSLOrders('fakeparam', null, null, (data, error) => {
|
|
4095
4110
|
try {
|
|
4096
4111
|
const displayE = 'limit is required';
|
|
4097
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4112
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getAllSSLOrders', displayE);
|
|
4098
4113
|
done();
|
|
4099
4114
|
} catch (err) {
|
|
4100
4115
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4111,7 +4126,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4111
4126
|
a.getAllSSLOrders('fakeparam', 'fakeparam', null, (data, error) => {
|
|
4112
4127
|
try {
|
|
4113
4128
|
const displayE = 'offset is required';
|
|
4114
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4129
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getAllSSLOrders', displayE);
|
|
4115
4130
|
done();
|
|
4116
4131
|
} catch (err) {
|
|
4117
4132
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4140,7 +4155,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4140
4155
|
a.comodoClaimFreeEV(null, null, (data, error) => {
|
|
4141
4156
|
try {
|
|
4142
4157
|
const displayE = 'authKey is required';
|
|
4143
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4158
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-comodoClaimFreeEV', displayE);
|
|
4144
4159
|
done();
|
|
4145
4160
|
} catch (err) {
|
|
4146
4161
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4157,7 +4172,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4157
4172
|
a.comodoClaimFreeEV('fakeparam', null, (data, error) => {
|
|
4158
4173
|
try {
|
|
4159
4174
|
const displayE = 'orderId is required';
|
|
4160
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4175
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-comodoClaimFreeEV', displayE);
|
|
4161
4176
|
done();
|
|
4162
4177
|
} catch (err) {
|
|
4163
4178
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4186,7 +4201,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4186
4201
|
a.getTotalOrders(null, (data, error) => {
|
|
4187
4202
|
try {
|
|
4188
4203
|
const displayE = 'authKey is required';
|
|
4189
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4204
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getTotalOrders', displayE);
|
|
4190
4205
|
done();
|
|
4191
4206
|
} catch (err) {
|
|
4192
4207
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4215,7 +4230,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4215
4230
|
a.changeDomainsValidationMethod(null, null, null, null, (data, error) => {
|
|
4216
4231
|
try {
|
|
4217
4232
|
const displayE = 'authKey is required';
|
|
4218
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4233
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-changeDomainsValidationMethod', displayE);
|
|
4219
4234
|
done();
|
|
4220
4235
|
} catch (err) {
|
|
4221
4236
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4232,7 +4247,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4232
4247
|
a.changeDomainsValidationMethod('fakeparam', null, null, null, (data, error) => {
|
|
4233
4248
|
try {
|
|
4234
4249
|
const displayE = 'orderId is required';
|
|
4235
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4250
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-changeDomainsValidationMethod', displayE);
|
|
4236
4251
|
done();
|
|
4237
4252
|
} catch (err) {
|
|
4238
4253
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4249,7 +4264,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4249
4264
|
a.changeDomainsValidationMethod('fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
4250
4265
|
try {
|
|
4251
4266
|
const displayE = 'newMethods is required';
|
|
4252
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4267
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-changeDomainsValidationMethod', displayE);
|
|
4253
4268
|
done();
|
|
4254
4269
|
} catch (err) {
|
|
4255
4270
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4266,7 +4281,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4266
4281
|
a.changeDomainsValidationMethod('fakeparam', 'fakeparam', 'fakeparam', null, (data, error) => {
|
|
4267
4282
|
try {
|
|
4268
4283
|
const displayE = 'domains is required';
|
|
4269
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4284
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-changeDomainsValidationMethod', displayE);
|
|
4270
4285
|
done();
|
|
4271
4286
|
} catch (err) {
|
|
4272
4287
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4295,7 +4310,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4295
4310
|
a.changeValidationMethod(null, null, null, null, (data, error) => {
|
|
4296
4311
|
try {
|
|
4297
4312
|
const displayE = 'authKey is required';
|
|
4298
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4313
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-changeValidationMethod', displayE);
|
|
4299
4314
|
done();
|
|
4300
4315
|
} catch (err) {
|
|
4301
4316
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4312,7 +4327,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4312
4327
|
a.changeValidationMethod('fakeparam', null, null, null, (data, error) => {
|
|
4313
4328
|
try {
|
|
4314
4329
|
const displayE = 'orderId is required';
|
|
4315
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4330
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-changeValidationMethod', displayE);
|
|
4316
4331
|
done();
|
|
4317
4332
|
} catch (err) {
|
|
4318
4333
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4329,7 +4344,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4329
4344
|
a.changeValidationMethod('fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
4330
4345
|
try {
|
|
4331
4346
|
const displayE = 'domain is required';
|
|
4332
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4347
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-changeValidationMethod', displayE);
|
|
4333
4348
|
done();
|
|
4334
4349
|
} catch (err) {
|
|
4335
4350
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4346,7 +4361,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4346
4361
|
a.changeValidationMethod('fakeparam', 'fakeparam', 'fakeparam', null, (data, error) => {
|
|
4347
4362
|
try {
|
|
4348
4363
|
const displayE = 'newMethod is required';
|
|
4349
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4364
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-changeValidationMethod', displayE);
|
|
4350
4365
|
done();
|
|
4351
4366
|
} catch (err) {
|
|
4352
4367
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4375,7 +4390,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4375
4390
|
a.changeValidationEmail(null, null, null, (data, error) => {
|
|
4376
4391
|
try {
|
|
4377
4392
|
const displayE = 'authKey is required';
|
|
4378
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4393
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-changeValidationEmail', displayE);
|
|
4379
4394
|
done();
|
|
4380
4395
|
} catch (err) {
|
|
4381
4396
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4392,7 +4407,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4392
4407
|
a.changeValidationEmail('fakeparam', null, null, (data, error) => {
|
|
4393
4408
|
try {
|
|
4394
4409
|
const displayE = 'orderId is required';
|
|
4395
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4410
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-changeValidationEmail', displayE);
|
|
4396
4411
|
done();
|
|
4397
4412
|
} catch (err) {
|
|
4398
4413
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4409,7 +4424,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4409
4424
|
a.changeValidationEmail('fakeparam', 'fakeparam', null, (data, error) => {
|
|
4410
4425
|
try {
|
|
4411
4426
|
const displayE = 'approverEmail is required';
|
|
4412
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4427
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-changeValidationEmail', displayE);
|
|
4413
4428
|
done();
|
|
4414
4429
|
} catch (err) {
|
|
4415
4430
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4438,7 +4453,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4438
4453
|
a.resendValidationEmail(null, null, (data, error) => {
|
|
4439
4454
|
try {
|
|
4440
4455
|
const displayE = 'authKey is required';
|
|
4441
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4456
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-resendValidationEmail', displayE);
|
|
4442
4457
|
done();
|
|
4443
4458
|
} catch (err) {
|
|
4444
4459
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4455,7 +4470,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4455
4470
|
a.resendValidationEmail('fakeparam', null, (data, error) => {
|
|
4456
4471
|
try {
|
|
4457
4472
|
const displayE = 'orderId is required';
|
|
4458
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4473
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-resendValidationEmail', displayE);
|
|
4459
4474
|
done();
|
|
4460
4475
|
} catch (err) {
|
|
4461
4476
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4484,7 +4499,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4484
4499
|
a.changeDcv(null, null, null, null, (data, error) => {
|
|
4485
4500
|
try {
|
|
4486
4501
|
const displayE = 'authKey is required';
|
|
4487
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4502
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-changeDcv', displayE);
|
|
4488
4503
|
done();
|
|
4489
4504
|
} catch (err) {
|
|
4490
4505
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4501,7 +4516,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4501
4516
|
a.changeDcv('fakeparam', null, null, null, (data, error) => {
|
|
4502
4517
|
try {
|
|
4503
4518
|
const displayE = 'orderId is required';
|
|
4504
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4519
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-changeDcv', displayE);
|
|
4505
4520
|
done();
|
|
4506
4521
|
} catch (err) {
|
|
4507
4522
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4518,7 +4533,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4518
4533
|
a.changeDcv('fakeparam', 'fakeparam', null, null, (data, error) => {
|
|
4519
4534
|
try {
|
|
4520
4535
|
const displayE = 'domainName is required';
|
|
4521
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4536
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-changeDcv', displayE);
|
|
4522
4537
|
done();
|
|
4523
4538
|
} catch (err) {
|
|
4524
4539
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4535,7 +4550,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4535
4550
|
a.changeDcv('fakeparam', 'fakeparam', 'fakeparam', null, (data, error) => {
|
|
4536
4551
|
try {
|
|
4537
4552
|
const displayE = 'newMethod is required';
|
|
4538
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4553
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-changeDcv', displayE);
|
|
4539
4554
|
done();
|
|
4540
4555
|
} catch (err) {
|
|
4541
4556
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4564,7 +4579,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4564
4579
|
a.revalidate(null, null, (data, error) => {
|
|
4565
4580
|
try {
|
|
4566
4581
|
const displayE = 'authKey is required';
|
|
4567
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4582
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-revalidate', displayE);
|
|
4568
4583
|
done();
|
|
4569
4584
|
} catch (err) {
|
|
4570
4585
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4581,7 +4596,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4581
4596
|
a.revalidate('fakeparam', null, (data, error) => {
|
|
4582
4597
|
try {
|
|
4583
4598
|
const displayE = 'orderId is required';
|
|
4584
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4599
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-revalidate', displayE);
|
|
4585
4600
|
done();
|
|
4586
4601
|
} catch (err) {
|
|
4587
4602
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4610,7 +4625,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4610
4625
|
a.resend(null, null, null, (data, error) => {
|
|
4611
4626
|
try {
|
|
4612
4627
|
const displayE = 'authKey is required';
|
|
4613
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4628
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-resend', displayE);
|
|
4614
4629
|
done();
|
|
4615
4630
|
} catch (err) {
|
|
4616
4631
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4627,7 +4642,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4627
4642
|
a.resend('fakeparam', null, null, (data, error) => {
|
|
4628
4643
|
try {
|
|
4629
4644
|
const displayE = 'orderId is required';
|
|
4630
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4645
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-resend', displayE);
|
|
4631
4646
|
done();
|
|
4632
4647
|
} catch (err) {
|
|
4633
4648
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4644,7 +4659,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4644
4659
|
a.resend('fakeparam', 'fakeparam', null, (data, error) => {
|
|
4645
4660
|
try {
|
|
4646
4661
|
const displayE = 'domain is required';
|
|
4647
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4662
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-resend', displayE);
|
|
4648
4663
|
done();
|
|
4649
4664
|
} catch (err) {
|
|
4650
4665
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4673,7 +4688,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4673
4688
|
a.getAllInvoices(null, (data, error) => {
|
|
4674
4689
|
try {
|
|
4675
4690
|
const displayE = 'authKey is required';
|
|
4676
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4691
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getAllInvoices', displayE);
|
|
4677
4692
|
done();
|
|
4678
4693
|
} catch (err) {
|
|
4679
4694
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4702,7 +4717,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4702
4717
|
a.getUnpaidInvoices(null, (data, error) => {
|
|
4703
4718
|
try {
|
|
4704
4719
|
const displayE = 'authKey is required';
|
|
4705
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4720
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getUnpaidInvoices', displayE);
|
|
4706
4721
|
done();
|
|
4707
4722
|
} catch (err) {
|
|
4708
4723
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4731,7 +4746,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4731
4746
|
a.getOrderInvoice(null, null, (data, error) => {
|
|
4732
4747
|
try {
|
|
4733
4748
|
const displayE = 'authKey is required';
|
|
4734
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4749
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getOrderInvoice', displayE);
|
|
4735
4750
|
done();
|
|
4736
4751
|
} catch (err) {
|
|
4737
4752
|
log.error(`Test Failure: ${err}`);
|
|
@@ -4748,7 +4763,7 @@ describe('[unit] GoGetSSL Adapter Test', () => {
|
|
|
4748
4763
|
a.getOrderInvoice('fakeparam', null, (data, error) => {
|
|
4749
4764
|
try {
|
|
4750
4765
|
const displayE = 'orderId is required';
|
|
4751
|
-
runErrorAsserts(data, error, 'AD.300', 'Test-
|
|
4766
|
+
runErrorAsserts(data, error, 'AD.300', 'Test-gogetssl-adapter-getOrderInvoice', displayE);
|
|
4752
4767
|
done();
|
|
4753
4768
|
} catch (err) {
|
|
4754
4769
|
log.error(`Test Failure: ${err}`);
|