From ca1ec5707f990ddebcd785e2da7a3bd011db7001 Mon Sep 17 00:00:00 2001 From: Robin Krahnen Date: Thu, 14 May 2020 14:43:09 +0200 Subject: [PATCH] added missing @throws --- Tests/Functional/SettingsValidatorTest.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Tests/Functional/SettingsValidatorTest.php b/Tests/Functional/SettingsValidatorTest.php index c16a48b..ce6231a 100644 --- a/Tests/Functional/SettingsValidatorTest.php +++ b/Tests/Functional/SettingsValidatorTest.php @@ -7,12 +7,16 @@ use DigiComp\SettingValidator\Tests\Functional\Fixtures\TestValidationGroupsCust use DigiComp\SettingValidator\Tests\Functional\Fixtures\TestValidationGroupsDefaultObject; use DigiComp\SettingValidator\Validation\Validator\SettingsValidator; use Neos\Flow\Tests\FunctionalTestCase; +use Neos\Flow\Validation\Exception\InvalidValidationConfigurationException; +use Neos\Flow\Validation\Exception\InvalidValidationOptionsException; +use Neos\Flow\Validation\Exception\NoSuchValidatorException; use Neos\Flow\Validation\ValidatorResolver; class SettingsValidatorTest extends FunctionalTestCase { /** * @test + * @throws InvalidValidationOptionsException */ public function ifNoNameIsGivenClassNameIsUsed() { @@ -25,6 +29,9 @@ class SettingsValidatorTest extends FunctionalTestCase /** * @test + * @throws InvalidValidationConfigurationException + * @throws InvalidValidationOptionsException + * @throws NoSuchValidatorException */ public function conjunctionValidationWorksAsExpected() { @@ -37,6 +44,7 @@ class SettingsValidatorTest extends FunctionalTestCase /** * @test + * @throws InvalidValidationOptionsException */ public function defaultValidationGroupWorks() { @@ -49,6 +57,7 @@ class SettingsValidatorTest extends FunctionalTestCase /** * @test + * @throws InvalidValidationOptionsException */ public function customValidationGroupWorks() {