Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | public function testObfuscate($before, $after) { |
||
32 | file_put_contents("./tests/before/source.php", $before); |
||
33 | shell_exec("./bin/obfuscate obfuscate ./tests/before ./tests/after"); |
||
34 | $obfuscated = file_get_contents("./tests/after/source.php"); |
||
35 | $this->assertEquals($after, $obfuscated); |
||
36 | } |
||
37 | |||
58 | } |