Skip to content

Commit 56ee53e

Browse files
Fix test
1 parent adfec18 commit 56ee53e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Fixtures/Validation/Category.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class Category
1111
public $id;
1212

1313
/**
14-
* @Assert\Type(Category::NAME_PATTERN)
14+
* @Assert\Type("string")
1515
*/
1616
public $name;
1717
}

Tests/Fixtures/Validation/SubCategory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class SubCategory extends Category
88
{
99
/**
10-
* @Assert\Type(Category::class)
10+
* @Assert\Type("string")
1111
*/
1212
public $main;
1313
}

0 commit comments

Comments
 (0)