public function LingotekNodeBulkFormWithGroupModuleTest::testGroupFilterDoesntExistForNodesIfNoGnode in Lingotek Translation 3.8.x
Same name and namespace in other branches
- 4.0.x tests/src/Functional/Form/LingotekNodeBulkFormWithGroupModuleTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekNodeBulkFormWithGroupModuleTest::testGroupFilterDoesntExistForNodesIfNoGnode()
- 3.5.x tests/src/Functional/Form/LingotekNodeBulkFormWithGroupModuleTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekNodeBulkFormWithGroupModuleTest::testGroupFilterDoesntExistForNodesIfNoGnode()
- 3.6.x tests/src/Functional/Form/LingotekNodeBulkFormWithGroupModuleTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekNodeBulkFormWithGroupModuleTest::testGroupFilterDoesntExistForNodesIfNoGnode()
- 3.7.x tests/src/Functional/Form/LingotekNodeBulkFormWithGroupModuleTest.php \Drupal\Tests\lingotek\Functional\Form\LingotekNodeBulkFormWithGroupModuleTest::testGroupFilterDoesntExistForNodesIfNoGnode()
Tests that the bulk management group filtering exists for nodes.
File
- tests/
src/ Functional/ Form/ LingotekNodeBulkFormWithGroupModuleTest.php, line 137
Class
- LingotekNodeBulkFormWithGroupModuleTest
- Tests the bulk management form when the group module is enabled.
Namespace
Drupal\Tests\lingotek\Functional\FormCode
public function testGroupFilterDoesntExistForNodesIfNoGnode() {
/** @var \Drupal\Core\Extension\ModuleInstallerInterface $moduleInstaller */
$moduleInstaller = \Drupal::service('module_installer');
$moduleInstaller
->uninstall([
'gnode',
]);
$this
->goToContentBulkManagementForm();
// Assert there is a select for group.
$this
->assertNoField('filters[wrapper][group]', 'There is not a filter for group');
}