public function UniqueFieldAjaxTest::testUniqueTitleNotEnabledNoIssues in Unique field ajax 2.x
Test if title not set to unique we can save without issues.
Throws
\Drupal\Core\Entity\EntityStorageException
\Behat\Mink\Exception\ResponseTextException
File
- tests/
src/ Functional/ UniqueFieldAjaxTest.php, line 80
Class
- UniqueFieldAjaxTest
- Test the field permissions report page.
Namespace
Drupal\Tests\unique_field_ajax\FunctionalCode
public function testUniqueTitleNotEnabledNoIssues() {
// Setting the entity unique to false we can create many nodes with same.
$this
->updateThirdPartyEntitySetting('unique', FALSE);
$edit = $this
->createBasicUpdateData();
$this
->itCanSaveField($edit);
$this
->itCanSaveField($edit);
$this
->itCanSaveField($edit);
$this
->itCanSaveField($edit);
}