| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | public function testDumpDiscoveryFiles() |
||
| 12 | { |
||
| 13 | $dumper = new Dumper($this->getComposer(), $this->getIO()); |
||
| 14 | |||
| 15 | $dumper->dumpDiscoveryFiles(); |
||
| 16 | |||
| 17 | $this->assertFileExists('.discovery/Discovery.php'); |
||
| 18 | $this->assertFileExists('.discovery/discovery_asset_types.php'); |
||
| 19 | $this->assertFileExists('.discovery/discovery_values.php'); |
||
| 20 | |||
| 21 | unlink('.discovery/Discovery.php'); |
||
| 22 | unlink('.discovery/discovery_asset_types.php'); |
||
| 23 | unlink('.discovery/discovery_values.php'); |
||
| 24 | rmdir('.discovery'); |
||
| 25 | } |
||
| 27 |