Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | public function testCode() |
||
18 | { |
||
19 | $code = Template::getCode('commit-msg'); |
||
20 | |||
21 | $this->assertTrue(strpos($code, '#!/usr/bin/env php') !== false); |
||
22 | $this->assertTrue(strpos($code, '$app->setHook(\'commit-msg\');') !== false); |
||
23 | $this->assertTrue(strpos($code, '$app->run();') !== false); |
||
24 | } |
||
25 | } |
||
26 |