@@ -455,7 +455,7 @@ public function testListSecrets(): void
455455 return true ;
456456 }))->shouldBeCalledTimes (1 )->willReturn ($ this ->getResponse ('secret-management/list ' ));
457457
458- $ this ->accountClient ->listSecrets ('abcd1234 ' );
458+ @ $ this ->accountClient ->listSecrets ('abcd1234 ' );
459459 }
460460
461461 /**
@@ -471,7 +471,7 @@ public function testListSecretsServerError(): void
471471 Argument::any ()
472472 )->willReturn ($ this ->getGenericResponse ('500 ' , 500 ));
473473
474- $ this ->accountClient ->listSecrets ('abcd1234 ' );
474+ @ $ this ->accountClient ->listSecrets ('abcd1234 ' );
475475 }
476476
477477 /**
@@ -487,7 +487,7 @@ public function testListSecretsRequestError(): void
487487 Argument::any ()
488488 )->willReturn ($ this ->getGenericResponse ('401 ' , 401 ));
489489
490- $ this ->accountClient ->listSecrets ('abcd1234 ' );
490+ @ $ this ->accountClient ->listSecrets ('abcd1234 ' );
491491 }
492492
493493 /**
@@ -507,7 +507,7 @@ public function testGetSecret(): void
507507 return true ;
508508 }))->shouldBeCalledTimes (1 )->willReturn ($ this ->getResponse ('secret-management/get ' ));
509509
510- $ this ->accountClient ->getSecret ('abcd1234 ' , 'ad6dc56f-07b5-46e1-a527-85530e625800 ' );
510+ @ $ this ->accountClient ->getSecret ('abcd1234 ' , 'ad6dc56f-07b5-46e1-a527-85530e625800 ' );
511511 }
512512
513513 /**
@@ -523,7 +523,7 @@ public function testGetSecretsServerError(): void
523523 Argument::any ()
524524 )->willReturn ($ this ->getGenericResponse ('500 ' , 500 ));
525525
526- $ this ->accountClient ->getSecret ('abcd1234 ' , 'ad6dc56f-07b5-46e1-a527-85530e625800 ' );
526+ @ $ this ->accountClient ->getSecret ('abcd1234 ' , 'ad6dc56f-07b5-46e1-a527-85530e625800 ' );
527527 }
528528
529529 /**
@@ -539,7 +539,7 @@ public function testGetSecretsRequestError(): void
539539 Argument::any ()
540540 )->willReturn ($ this ->getGenericResponse ('401 ' , 401 ));
541541
542- $ this ->accountClient ->getSecret ('abcd1234 ' , 'ad6dc56f-07b5-46e1-a527-85530e625800 ' );
542+ @ $ this ->accountClient ->getSecret ('abcd1234 ' , 'ad6dc56f-07b5-46e1-a527-85530e625800 ' );
543543 }
544544
545545 /**
@@ -558,7 +558,7 @@ public function testCreateSecret(): void
558558 return true ;
559559 }))->shouldBeCalledTimes (1 )->willReturn ($ this ->getResponse ('secret-management/create ' ));
560560
561- $ this ->accountClient ->createSecret ('abcd1234 ' , 'example-4PI-secret ' );
561+ @ $ this ->accountClient ->createSecret ('abcd1234 ' , 'example-4PI-secret ' );
562562 }
563563
564564 /**
@@ -576,7 +576,7 @@ public function testCreateSecretsServerError(): void
576576 Argument::any ()
577577 )->willReturn ($ this ->getGenericResponse ('500 ' , 500 ));
578578
579- $ this ->accountClient ->createSecret ('abcd1234 ' , 'example-4PI-secret ' );
579+ @ $ this ->accountClient ->createSecret ('abcd1234 ' , 'example-4PI-secret ' );
580580 }
581581
582582 /**
@@ -592,7 +592,7 @@ public function testCreateSecretsRequestError(): void
592592
593593 $ this ->vonageClient ->send (Argument::any ())->willReturn ($ this ->getGenericResponse ('401 ' , 401 ));
594594
595- $ this ->accountClient ->createSecret ('abcd1234 ' , 'example-4PI-secret ' );
595+ @ $ this ->accountClient ->createSecret ('abcd1234 ' , 'example-4PI-secret ' );
596596 }
597597
598598 /**
@@ -606,12 +606,12 @@ public function testCreateSecretsValidationError(): void
606606 try {
607607 $ this ->vonageClient ->send (Argument::any ())
608608 ->willReturn ($ this ->getResponse ('secret-management/create-validation ' , 400 ));
609- $ this ->accountClient ->createSecret ('abcd1234 ' , 'example-4PI-secret ' );
609+ @ $ this ->accountClient ->createSecret ('abcd1234 ' , 'example-4PI-secret ' );
610610 } catch (ValidationException $ e ) {
611611 $ this ->assertEquals (
612612 'Bad Request: The request failed due to validation errors. ' .
613- 'See https://developer.nexmo.com/api-errors/account/secret-management#validation ' .
614- 'for more information ' ,
613+ 'See https://developer.nexmo.com/api-errors/account/secret-management#validation ' .
614+ 'for more information ' ,
615615 $ e ->getMessage ()
616616 );
617617 $ this ->assertEquals (
@@ -642,7 +642,7 @@ public function testDeleteSecret(): void
642642 return true ;
643643 }))->shouldBeCalledTimes (1 )->willReturn ($ this ->getResponse ('secret-management/delete ' ));
644644
645- $ this ->accountClient ->deleteSecret ('abcd1234 ' , 'ad6dc56f-07b5-46e1-a527-85530e625800 ' );
645+ @ $ this ->accountClient ->deleteSecret ('abcd1234 ' , 'ad6dc56f-07b5-46e1-a527-85530e625800 ' );
646646 }
647647
648648 /**
@@ -653,7 +653,7 @@ public function testDeleteSecretsServerError(): void
653653 {
654654 $ this ->expectException (ClientException \Server::class);
655655 $ this ->vonageClient ->send (Argument::any ())->willReturn ($ this ->getGenericResponse ('500 ' , 500 ));
656- $ this ->accountClient ->deleteSecret ('abcd1234 ' , 'ad6dc56f-07b5-46e1-a527-85530e625800 ' );
656+ @ $ this ->accountClient ->deleteSecret ('abcd1234 ' , 'ad6dc56f-07b5-46e1-a527-85530e625800 ' );
657657 }
658658
659659 /**
@@ -664,7 +664,7 @@ public function testDeleteSecretsRequestError(): void
664664 {
665665 $ this ->expectException (ClientException \Request::class);
666666 $ this ->vonageClient ->send (Argument::any ())->willReturn ($ this ->getGenericResponse ('401 ' , 401 ));
667- $ this ->accountClient ->deleteSecret ('abcd1234 ' , 'ad6dc56f-07b5-46e1-a527-85530e625800 ' );
667+ @ $ this ->accountClient ->deleteSecret ('abcd1234 ' , 'ad6dc56f-07b5-46e1-a527-85530e625800 ' );
668668 }
669669
670670 /**
0 commit comments