Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
28 | public function testActivateSuccess() |
||
29 | { |
||
30 | $plugin = new Plugin(); |
||
31 | $plugin->activate($this->composer, $this->io); |
||
32 | $installer = $this->composer->getInstallationManager()->getInstaller('git-hook'); |
||
33 | |||
34 | // Check right installer instance is given |
||
35 | $this->assertInstanceOf('Ams\Composer\GitHooks\Installer\GitHooksInstaller', $installer); |
||
36 | } |
||
37 | } |
||
38 |