From fc5df9f763b2e46a91840aa14f2a83666006aebc Mon Sep 17 00:00:00 2001 From: Dave Longley Date: Sun, 15 Dec 2024 15:00:37 -0500 Subject: [PATCH] Fix error text assertions. --- test/mocha/10-provision.js | 4 ++-- test/mocha/backwards-compatibility/10-provision.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/mocha/10-provision.js b/test/mocha/10-provision.js index 7293404..d4aeae0 100644 --- a/test/mocha/10-provision.js +++ b/test/mocha/10-provision.js @@ -296,7 +296,7 @@ describe('provision', () => { should.not.exist(result); err.data.type.should.equal('ValidationError'); err.data.message.should.equal( - 'A validation error occured in the \'createConfigBody\' validator.'); + 'A validation error occurred in the \'createConfigBody\' validator.'); }); }); @@ -826,7 +826,7 @@ describe('provision', () => { should.not.exist(result); err.data.type.should.equal('ValidationError'); err.data.message.should.equal( - 'A validation error occured in the \'Delegated ZCAP\' validator.'); + 'A validation error occurred in the \'Delegated ZCAP\' validator.'); }); it('revokes a zcap', async () => { const config = await helpers.createWorkflowConfig({capabilityAgent}); diff --git a/test/mocha/backwards-compatibility/10-provision.js b/test/mocha/backwards-compatibility/10-provision.js index 1fb9049..4fe15f4 100644 --- a/test/mocha/backwards-compatibility/10-provision.js +++ b/test/mocha/backwards-compatibility/10-provision.js @@ -297,7 +297,7 @@ describe('exchanger backwards-compatibility: ' + should.not.exist(result); err.data.type.should.equal('ValidationError'); err.data.message.should.equal( - 'A validation error occured in the \'createConfigBody\' validator.'); + 'A validation error occurred in the \'createConfigBody\' validator.'); }); }); @@ -827,7 +827,7 @@ describe('exchanger backwards-compatibility: ' + should.not.exist(result); err.data.type.should.equal('ValidationError'); err.data.message.should.equal( - 'A validation error occured in the \'Delegated ZCAP\' validator.'); + 'A validation error occurred in the \'Delegated ZCAP\' validator.'); }); it('revokes a zcap', async () => { const config = await helpers.createExchangerConfig({capabilityAgent});