mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
BUGFIX Fixed UserDefinedFormEditorTest: Logging in before publishing so canPublish() doesnt return false
This commit is contained in:
parent
c34a2af447
commit
db4cd3de31
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user