Skip to content

Commit 6969a7e

Browse files
committed
Fix error text assertions.
1 parent 3d8fa10 commit 6969a7e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/mocha/10-provision.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Copyright (c) 2019-2022 Digital Bazaar, Inc. All rights reserved.
2+
* Copyright (c) 2019-2024 Digital Bazaar, Inc. All rights reserved.
33
*/
44
import * as bedrock from '@bedrock/core';
55
import * as helpers from './helpers.js';
@@ -171,7 +171,7 @@ describe('provision API', () => {
171171
should.not.exist(result);
172172
err.data.type.should.equal('ValidationError');
173173
err.data.message.should.equal(
174-
'A validation error occured in the \'createConfigBody\' validator.');
174+
'A validation error occurred in the \'createConfigBody\' validator.');
175175
});
176176
});
177177

@@ -706,7 +706,7 @@ describe('provision API', () => {
706706
should.not.exist(result);
707707
err.data.type.should.equal('ValidationError');
708708
err.data.message.should.equal(
709-
'A validation error occured in the \'Delegated ZCAP\' validator.');
709+
'A validation error occurred in the \'Delegated ZCAP\' validator.');
710710
});
711711
it('revokes a zcap', async () => {
712712
const config = await helpers.createConfig({capabilityAgent, zcaps});
@@ -822,7 +822,7 @@ describe('provision API', () => {
822822
should.not.exist(result);
823823
err.data.type.should.equal('ValidationError');
824824
err.data.message.should.equal(
825-
'A validation error occured in the \'createContextBody\' validator.');
825+
'A validation error occurred in the \'createContextBody\' validator.');
826826
});
827827
it('updates a context', async () => {
828828
const config = await helpers.createConfig({capabilityAgent, zcaps});

0 commit comments

Comments
 (0)