File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ export class DpnsFacade {
5252 // Validate inputs
5353 if ( publicKeyId === undefined || publicKeyId === null ) {
5454 throw new Error (
55- 'publicKeyId is required for DPNS registration.\n' +
56- 'DPNS requires a key with AUTHENTICATION purpose and CRITICAL or HIGH security level.\n'
55+ 'publicKeyId is required for DPNS registration.\n'
56+ + 'DPNS requires a key with AUTHENTICATION purpose and CRITICAL or HIGH security level.\n' ,
5757 ) ;
5858 }
5959
Original file line number Diff line number Diff line change @@ -68,7 +68,6 @@ describe('DPNSFacade', () => {
6868 } catch ( error ) {
6969 expect ( error . message ) . to . include ( 'publicKeyId is required' ) ;
7070 expect ( error . message ) . to . include ( 'CRITICAL or HIGH security level' ) ;
71- expect ( error . message ) . to . include ( 'Do NOT use Key 0' ) ;
7271 }
7372 } ) ;
7473
@@ -84,7 +83,6 @@ describe('DPNSFacade', () => {
8483 } catch ( error ) {
8584 expect ( error . message ) . to . include ( 'publicKeyId is required' ) ;
8685 expect ( error . message ) . to . include ( 'CRITICAL or HIGH security level' ) ;
87- expect ( error . message ) . to . include ( 'Do NOT use Key 0' ) ;
8886 }
8987 } ) ;
9088
You can’t perform that action at this time.
0 commit comments