Author: ornicar2
Date: 2010-01-15 13:30:47 +0100 (Fri, 15 Jan 2010)
New Revision: 26676
Added:
plugins/diemPlugin/trunk/dmCorePlugin/test/project/test/functional/front/dmEditPageTest.php
Modified:
plugins/diemPlugin/trunk/dmCorePlugin/lib/form/doctrine/PluginDmPageForm.class.php
Log:
[Diem]
- fixed front page edit form
Modified:
plugins/diemPlugin/trunk/dmCorePlugin/lib/form/doctrine/PluginDmPageForm.class.php
===================================================================
---
plugins/diemPlugin/trunk/dmCorePlugin/lib/form/doctrine/PluginDmPageForm.class.php
2010-01-15 12:22:24 UTC (rev 26675)
+++
plugins/diemPlugin/trunk/dmCorePlugin/lib/form/doctrine/PluginDmPageForm.class.php
2010-01-15 12:30:47 UTC (rev 26676)
@@ -9,4 +9,9 @@
*/
abstract class PluginDmPageForm extends BaseDmPageForm
{
+
+ protected function getAutoFieldsToUnset()
+ {
+ return array('created_at', 'updated_at');
+ }
}
\ No newline at end of file
Added:
plugins/diemPlugin/trunk/dmCorePlugin/test/project/test/functional/front/dmEditPageTest.php
===================================================================
---
plugins/diemPlugin/trunk/dmCorePlugin/test/project/test/functional/front/dmEditPageTest.php
(rev 0)
+++
plugins/diemPlugin/trunk/dmCorePlugin/test/project/test/functional/front/dmEditPageTest.php
2010-01-15 12:30:47 UTC (rev 26676)
@@ -0,0 +1,15 @@
+<?php
+
+require_once(realpath(dirname(__FILE__).'/../../../..').'/functional/helper/dmFunctionalTestHelper.php');
+$helper = new dmFunctionalTestHelper();
+$helper->boot('front');
+
+$b = $helper->getBrowser();
+
+$helper->login();
+
+$b
+->get('/index.php')
+->checks()
+->click('a.page_edit_form')
+->checks();
\ No newline at end of file
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.