diff --git a/package-lock.json b/package-lock.json index b642f69..7d461f4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,6 +26,7 @@ "@commitlint/config-conventional": "^18.4.3", "@grpc/proto-loader": "^0.7.10", "@restorecommerce/dev": "^0.0.9", + "@restorecommerce/protos": "^6.8.0", "@semantic-release-plus/docker": "^3.1.3", "@types/ioredis": "^5.0.0", "@types/mocha": "^10.0.6", @@ -2276,9 +2277,9 @@ } }, "node_modules/@restorecommerce/protos": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@restorecommerce/protos/-/protos-6.7.0.tgz", - "integrity": "sha512-Syx5b/8j0PA/bmrv7w6nQIY3+dEhwj3IALddM0UX3agKw29RyzDLJXh1duIVcbXemSbaTZoP1GhsVg61QQ759w==" + "version": "6.8.0", + "resolved": "https://registry.npmjs.org/@restorecommerce/protos/-/protos-6.8.0.tgz", + "integrity": "sha512-1pbXosFy6LXry2AKKyQyFgoDhYbfKzTtEtn++/SRxINK3OxDJStA2xoTKS9WPHKJKjGMv4jhauhp6U+poW7lzA==" }, "node_modules/@restorecommerce/rc-grpc-clients": { "version": "5.1.21", diff --git a/package.json b/package.json index bdf2a01..86b9055 100644 --- a/package.json +++ b/package.json @@ -33,9 +33,10 @@ "@alenon/grpc-mock-server": "^3.1.9", "@commitlint/cli": "^18.4.3", "@commitlint/config-conventional": "^18.4.3", - "@semantic-release-plus/docker": "^3.1.3", "@grpc/proto-loader": "^0.7.10", "@restorecommerce/dev": "^0.0.9", + "@restorecommerce/protos": "^6.8.0", + "@semantic-release-plus/docker": "^3.1.3", "@types/ioredis": "^5.0.0", "@types/mocha": "^10.0.6", "@types/nconf": "^0.10.6", diff --git a/test/mocks.ts b/test/mocks.ts index ba1a83f..493d824 100644 --- a/test/mocks.ts +++ b/test/mocks.ts @@ -275,7 +275,7 @@ const contactPoints = [ payload: { id: 'contactPoint_1', contactPointTypeIds: [ - 'legal_address' + 'legal' ], name: 'Contact Point 1', description: 'A mocked Contact Point for testing', diff --git a/test/ordering-srv.spec.ts b/test/ordering-srv.spec.ts index 8c3f86a..1fca9d1 100644 --- a/test/ordering-srv.spec.ts +++ b/test/ordering-srv.spec.ts @@ -107,7 +107,6 @@ describe('The Ordering Service:', () => { it(`should evaluate valid orders by sample: ${sample_name}`, async function() { this.timeout(5000); const response = await client.evaluate(sample); - console.log(JSON.stringify(response, undefined, 2)); should.equal( response.operationStatus?.code, 200,