File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Resources/config/doctrine-model Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -75,8 +75,9 @@ class Page extends Route implements
75
75
76
76
/**
77
77
* Extra values an application can store along with a page
78
+ * @var array
78
79
*/
79
- protected $ extras ;
80
+ protected $ extras = array () ;
80
81
81
82
/**
82
83
* Overwrite to be able to create route without pattern
Original file line number Diff line number Diff line change 16
16
<field name =" body" type =" string" translated =" true" />
17
17
<field name =" createDate" type =" date" />
18
18
<field name =" publishable" type =" boolean" />
19
- <field name =" publishStartDate" type =" date" />
20
- <field name =" publishEndDate" type =" date" />
19
+ <field name =" publishStartDate" type =" date" nullable = " true " />
20
+ <field name =" publishEndDate" type =" date" nullable = " true " />
21
21
<field name =" addLocalePattern" type =" boolean" />
22
- <field name =" extras" type =" string" assoc =" " />
22
+ <field name =" extras" type =" string" assoc =" " nullable = " true " />
23
23
24
24
</mapped-superclass >
25
25
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public function testPageEdit()
27
27
$ crawler = $ this ->client ->request ('GET ' , '/admin/cmf/simplecms/page/test/page/homepage/edit ' );
28
28
$ res = $ this ->client ->getResponse ();
29
29
$ this ->assertEquals (200 , $ res ->getStatusCode ());
30
- $ this ->assertCount (2 , $ crawler ->filter ('input[value="homepage "] ' ));
30
+ $ this ->assertCount (2 , $ crawler ->filter ('input[value="Homepage "] ' ));
31
31
}
32
32
33
33
public function testPageShow ()
You can’t perform that action at this time.
0 commit comments