Fix test
This commit is contained in:
parent
6ba798151e
commit
3d0a69e50f
@ -11,7 +11,7 @@ class Category
|
||||
public $id;
|
||||
|
||||
/**
|
||||
* @Assert\Type(Category::NAME_PATTERN)
|
||||
* @Assert\Type("string")
|
||||
*/
|
||||
public $name;
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ namespace Symfony\Bundle\FrameworkBundle\Tests\Fixtures\Validation;
|
||||
class SubCategory extends Category
|
||||
{
|
||||
/**
|
||||
* @Assert\Type(Category::class)
|
||||
* @Assert\Type("string")
|
||||
*/
|
||||
public $main;
|
||||
}
|
||||
|
Reference in New Issue
Block a user