Skip to content
Snippets Groups Projects

Issue #2707689: NodeForm::actions() checks for delete access on new entities

1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
  • c9f19748
    Issue #3309907 by Spokje, danflanagan8, longwave: [random test failure]... · c9f19748
    Alex Pott authored
    Issue #3309907 by Spokje, danflanagan8, longwave: [random test failure] BookTest::testGetTableOfContents
@@ -225,7 +225,7 @@ public function optionExists($select, $option, TraversableElement $container = N
throw new ElementNotFoundException($this->session->getDriver(), 'select', 'id|name|label|value', $select);
}
$option_field = $select_field->find('named', ['option', $option]);
$option_field = $select_field->find('named_exact', ['option', $option]);
if ($option_field === NULL) {
throw new ElementNotFoundException($this->session->getDriver(), 'select', 'id|name|label|value', $option);
@@ -259,7 +259,7 @@ public function optionNotExists($select, $option, TraversableElement $container
throw new ElementNotFoundException($this->session->getDriver(), 'select', 'id|name|label|value', $select);
}
$option_field = $select_field->find('named', ['option', $option]);
$option_field = $select_field->find('named_exact', ['option', $option]);
$this->assert($option_field === NULL, sprintf('An option "%s" exists in select "%s", but it should not.', $option, $select));
}
Loading