@@ -126,7 +126,7 @@ describe('bedrock-profile-http', () => {
126
126
result . status . should . equal ( 400 ) ;
127
127
result . ok . should . equal ( false ) ;
128
128
result . data . message . should . equal (
129
- 'A validation error occured in the \'Account Query\' validator.' ) ;
129
+ 'A validation error occurred in the \'Account Query\' validator.' ) ;
130
130
} ) ;
131
131
it ( 'throws error when account is not authorized' , async ( ) => {
132
132
let result ;
@@ -182,7 +182,7 @@ describe('bedrock-profile-http', () => {
182
182
result . status . should . equal ( 400 ) ;
183
183
result . ok . should . equal ( false ) ;
184
184
result . data . message . should . equal (
185
- 'A validation error occured in the \'Profile Agent\' validator.' ) ;
185
+ 'A validation error occurred in the \'Profile Agent\' validator.' ) ;
186
186
} ) ;
187
187
it ( 'throws error when account is not authorized' , async ( ) => {
188
188
const profile = 'did:example:1234' ;
@@ -365,7 +365,7 @@ describe('bedrock-profile-http', () => {
365
365
result . status . should . equal ( 400 ) ;
366
366
result . ok . should . equal ( false ) ;
367
367
result . data . message . should . equal (
368
- 'A validation error occured in the \'Account Query\' validator.' ) ;
368
+ 'A validation error occurred in the \'Account Query\' validator.' ) ;
369
369
} ) ;
370
370
it ( 'throws error when account is not authorized' , async ( ) => {
371
371
const { account : { id : account } } = accounts [ 'alpha@example.com' ] ;
@@ -448,7 +448,7 @@ describe('bedrock-profile-http', () => {
448
448
result . status . should . equal ( 400 ) ;
449
449
result . ok . should . equal ( false ) ;
450
450
result . data . message . should . equal (
451
- 'A validation error occured in the \'Account Query\' validator.' ) ;
451
+ 'A validation error occurred in the \'Account Query\' validator.' ) ;
452
452
} ) ;
453
453
it ( 'throws error when account is not authorized' , async ( ) => {
454
454
const { account : { id : account } } = accounts [ 'alpha@example.com' ] ;
@@ -536,7 +536,8 @@ describe('bedrock-profile-http', () => {
536
536
result . status . should . equal ( 400 ) ;
537
537
result . ok . should . equal ( false ) ;
538
538
result . data . message . should . equal (
539
- 'A validation error occured in the \'Delegate Capability\' validator.' ) ;
539
+ 'A validation error occurred in the \'Delegate Capability\' ' +
540
+ 'validator.' ) ;
540
541
} ) ;
541
542
it ( 'throws error when there is no controller' , async ( ) => {
542
543
const { account : { id : account } } = accounts [ 'alpha@example.com' ] ;
@@ -562,7 +563,8 @@ describe('bedrock-profile-http', () => {
562
563
result . status . should . equal ( 400 ) ;
563
564
result . ok . should . equal ( false ) ;
564
565
result . data . message . should . equal (
565
- 'A validation error occured in the \'Delegate Capability\' validator.' ) ;
566
+ 'A validation error occurred in the \'Delegate Capability\' ' +
567
+ 'validator.' ) ;
566
568
} ) ;
567
569
it ( 'throws error when account is not authorized' , async ( ) => {
568
570
const { account : { id : account } } = accounts [ 'alpha@example.com' ] ;
@@ -704,7 +706,7 @@ describe('bedrock-profile-http', () => {
704
706
result . status . should . equal ( 400 ) ;
705
707
result . ok . should . equal ( false ) ;
706
708
result . data . message . should . equal (
707
- 'A validation error occured in the \'zcaps\' validator.' ) ;
709
+ 'A validation error occurred in the \'zcaps\' validator.' ) ;
708
710
} ) ;
709
711
it ( 'throws error when account is not authorized' , async ( ) => {
710
712
const { account : { id : account } } = accounts [ 'alpha@example.com' ] ;
0 commit comments