From 6969a7e388d4c888bcc75ffe3b9c7c4b87b5ba83 Mon Sep 17 00:00:00 2001 From: Dave Longley Date: Sun, 15 Dec 2024 14:58:54 -0500 Subject: [PATCH] Fix error text assertions. --- test/mocha/10-provision.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/mocha/10-provision.js b/test/mocha/10-provision.js index 36a4f27..ae94720 100644 --- a/test/mocha/10-provision.js +++ b/test/mocha/10-provision.js @@ -1,5 +1,5 @@ /*! - * Copyright (c) 2019-2022 Digital Bazaar, Inc. All rights reserved. + * Copyright (c) 2019-2024 Digital Bazaar, Inc. All rights reserved. */ import * as bedrock from '@bedrock/core'; import * as helpers from './helpers.js'; @@ -171,7 +171,7 @@ describe('provision API', () => { 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.'); }); }); @@ -706,7 +706,7 @@ describe('provision API', () => { 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.createConfig({capabilityAgent, zcaps}); @@ -822,7 +822,7 @@ describe('provision API', () => { should.not.exist(result); err.data.type.should.equal('ValidationError'); err.data.message.should.equal( - 'A validation error occured in the \'createContextBody\' validator.'); + 'A validation error occurred in the \'createContextBody\' validator.'); }); it('updates a context', async () => { const config = await helpers.createConfig({capabilityAgent, zcaps});