Skip to content

Commit

Permalink
Fixed integration test which broken when assumption changed
Browse files Browse the repository at this point in the history
The `DependenciesShowFrameworkCommandTest` implementation relied on an assumption that there were two references to `Magento\Framework` in the mock modules. Since the change to the registration.php files reduced this to one, the total dependency count dropped from 3 to 2.
  • Loading branch information
David Alger committed Nov 10, 2015
1 parent a80f3e9 commit 1d514f7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ public function testExecute()
$fileContents
);
$this->assertContains('"Dependencies for each module:",' . PHP_EOL, $fileContents);
$this->assertContains('"Magento\A",1' . PHP_EOL . '" -- Magento\Framework",3' . PHP_EOL, $fileContents);
$this->assertContains('"Magento\B",1' . PHP_EOL . '" -- Magento\Framework",3' . PHP_EOL, $fileContents);
$this->assertContains('"Magento\A",1' . PHP_EOL . '" -- Magento\Framework",2' . PHP_EOL, $fileContents);
$this->assertContains('"Magento\B",1' . PHP_EOL . '" -- Magento\Framework",2' . PHP_EOL, $fileContents);

}
}

0 comments on commit 1d514f7

Please sign in to comment.