$edit =
[ 'editor[editor]' => '',
];
$this->
submitForm($edit, 'Configure'
);
$this->
assertSession()->
fieldNotExists('editor[settings][ponies_too]'
);
} /**
* Tests adding a text editor to a new text format.
*/
public function testAddEditorToNewFormat() { $this->
addEditorToNewFormat('monoceros', 'Monoceros'
);
$this->
verifyUnicornEditorConfiguration('monoceros'
);
} /**
* Tests format disabling.
*/
public function testDisableFormatWithEditor() { $formats =
['monoceros' => 'Monoceros', 'tattoo' => 'Tattoo'
];
// Install the node module.
$this->container->
get('module_installer'
)->
install(['node'
]);