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 fbb1dd0 commit fc5df9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/mocha/10-provision.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
});
});

Expand Down Expand Up @@ -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});
Expand Down
4 changes: 2 additions & 2 deletions test/mocha/backwards-compatibility/10-provision.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
});
});

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

0 comments on commit fc5df9f

Please sign in to comment.