Skip to content

Commit 02d1ef3

Browse files
committed
Fix spelling errors in test assertions.
1 parent 4240db5 commit 02d1ef3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

test/mocha/10-keystore.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ describe('bedrock-kms-http API', () => {
134134
should.not.exist(result);
135135
err.data.type.should.equal('ValidationError');
136136
err.data.message.should.equal(
137-
'A validation error occured in the \'postKeystoreBody\' validator.');
137+
'A validation error occurred in ' +
138+
'the \'postKeystoreBody\' validator.');
138139
});
139140
it('throws error with no controller in zcap validation', async () => {
140141
const secret = ' b07e6b31-d910-438e-9a5f-08d945a5f676';
@@ -161,7 +162,7 @@ describe('bedrock-kms-http API', () => {
161162
should.not.exist(result);
162163
err.data.type.should.equal('ValidationError');
163164
err.data.message.should.equal(
164-
'A validation error occured in the \'delegatedZcap\' validator.');
165+
'A validation error occurred in the \'delegatedZcap\' validator.');
165166
});
166167

167168
describe('get keystore config', () => {

test/mocha/20-revocation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,6 @@ describe('revocations API', () => {
539539
should.exist(err);
540540
err.data.type.should.equal('ValidationError');
541541
err.data.message.should.equal(
542-
'A validation error occured in the \'delegatedZcap\' validator.');
542+
'A validation error occurred in the \'delegatedZcap\' validator.');
543543
});
544544
});

0 commit comments

Comments
 (0)