added missing @throws
This commit is contained in:
parent
c6e7d549c1
commit
ca1ec5707f
1 changed files with 9 additions and 0 deletions
|
@ -7,12 +7,16 @@ use DigiComp\SettingValidator\Tests\Functional\Fixtures\TestValidationGroupsCust
|
||||||
use DigiComp\SettingValidator\Tests\Functional\Fixtures\TestValidationGroupsDefaultObject;
|
use DigiComp\SettingValidator\Tests\Functional\Fixtures\TestValidationGroupsDefaultObject;
|
||||||
use DigiComp\SettingValidator\Validation\Validator\SettingsValidator;
|
use DigiComp\SettingValidator\Validation\Validator\SettingsValidator;
|
||||||
use Neos\Flow\Tests\FunctionalTestCase;
|
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;
|
use Neos\Flow\Validation\ValidatorResolver;
|
||||||
|
|
||||||
class SettingsValidatorTest extends FunctionalTestCase
|
class SettingsValidatorTest extends FunctionalTestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @test
|
* @test
|
||||||
|
* @throws InvalidValidationOptionsException
|
||||||
*/
|
*/
|
||||||
public function ifNoNameIsGivenClassNameIsUsed()
|
public function ifNoNameIsGivenClassNameIsUsed()
|
||||||
{
|
{
|
||||||
|
@ -25,6 +29,9 @@ class SettingsValidatorTest extends FunctionalTestCase
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @test
|
* @test
|
||||||
|
* @throws InvalidValidationConfigurationException
|
||||||
|
* @throws InvalidValidationOptionsException
|
||||||
|
* @throws NoSuchValidatorException
|
||||||
*/
|
*/
|
||||||
public function conjunctionValidationWorksAsExpected()
|
public function conjunctionValidationWorksAsExpected()
|
||||||
{
|
{
|
||||||
|
@ -37,6 +44,7 @@ class SettingsValidatorTest extends FunctionalTestCase
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @test
|
* @test
|
||||||
|
* @throws InvalidValidationOptionsException
|
||||||
*/
|
*/
|
||||||
public function defaultValidationGroupWorks()
|
public function defaultValidationGroupWorks()
|
||||||
{
|
{
|
||||||
|
@ -49,6 +57,7 @@ class SettingsValidatorTest extends FunctionalTestCase
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @test
|
* @test
|
||||||
|
* @throws InvalidValidationOptionsException
|
||||||
*/
|
*/
|
||||||
public function customValidationGroupWorks()
|
public function customValidationGroupWorks()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue