public function InfoFileTest::test in Drupal 7 to 8/9 Module Upgrader 8
File
- tests/
src/ Unit/ Plugin/ DMU/ Analyzer/ InfoFileTest.php, line 28
Class
- InfoFileTest
- @group DMU.Analyzer @covers \Drupal\drupalmoduleupgrader\Plugin\DMU\Analyzer\InfoFile
Namespace
Drupal\Tests\drupalmoduleupgrader\Unit\Plugin\DMU\AnalyzerCode
public function test() {
$issues = $this->analyzer
->analyze($this->target);
$this
->assertInternalType('array', $issues);
$this
->assertArrayHasKey('core', $issues);
$this
->assertArrayHasKey('type', $issues);
$this
->assertArrayNotHasKey('dependencies', $issues);
$this
->assertArrayHasKey('files', $issues);
$this
->assertArrayNotHasKey('configure', $issues);
}