Skip to content

Commit 74d3278

Browse files
committed
Fix tests
1 parent 37caba6 commit 74d3278

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

features/main/route.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Feature: Route resources
3434
Then the response status code should be 204
3535

3636
Scenario: A route will output the nested redirect routes and data for the redirected page
37-
Given there is a Route "/contact" with redirects to "/contact-new"
37+
Given there is a Route "/contact" which redirects to "/contact-new"
3838
When I send a "GET" request to "/_/routes//contact"
3939
Then the response status code should be 200
4040
And the JSON should be valid according to the schema file "route.schema.json"

tests/Functional/TestBundle/Entity/DummyPublishableWithValidation.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,9 @@ class DummyPublishableWithValidation
4444
* @Assert\NotBlank(groups={"DummyPublishableWithValidation:published"})
4545
*/
4646
public string $description = '';
47+
48+
/**
49+
* @var string a reference for this component
50+
*/
51+
public string $reference = '';
4752
}

0 commit comments

Comments
 (0)