BUGFIX Fixed UserDefinedFormEditorTest: Logging in before publishing so canPublish() doesnt return false

This commit is contained in:
Ingo Schommer 2009-11-09 04:48:35 +00:00
parent c34a2af447
commit db4cd3de31

View File

@ -19,6 +19,8 @@ class UserDefinedFormEditorTest extends FunctionalTest {
}
function testPublishing() {
$this->logInWithPermssion('ADMIN');
$id = $this->form->ID;
$this->form->Fields()->add(new EditableFormField());
$this->form->doPublish();