public function Drupal6SqlBaseTest::testDrupal6ModuleExists in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php \Drupal\Tests\migrate_drupal\Unit\source\d6\Drupal6SqlBaseTest::testDrupal6ModuleExists()
Tests for Drupal6SqlBase::moduleExists().
File
- core/
modules/ migrate_drupal/ tests/ src/ Unit/ source/ d6/ Drupal6SqlBaseTest.php, line 95 - Contains \Drupal\Tests\migrate_drupal\Unit\source\d6\Drupal6SqlBaseTest.
Class
- Drupal6SqlBaseTest
- Tests the D6 SQL base class.
Namespace
Drupal\Tests\migrate_drupal\Unit\source\d6Code
public function testDrupal6ModuleExists() {
// This module should exist.
$this
->assertTrue($this->base
->moduleExistsWrapper('module1'));
// These modules should not exist.
$this
->assertFalse($this->base
->moduleExistsWrapper('module2'));
$this
->assertFalse($this->base
->moduleExistsWrapper('module3'));
}