Skip to content

Commit

Permalink
Fix error text assertions.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlongley committed Dec 15, 2024
1 parent 3d8fa10 commit 6969a7e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/mocha/10-provision.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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.');
});
});

Expand Down Expand Up @@ -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});
Expand Down Expand Up @@ -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});
Expand Down

0 comments on commit 6969a7e

Please sign in to comment.