Skip to content

Commit

Permalink
remove files available test
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Jun 13, 2015
1 parent 76c167b commit f9e5aaf
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions tests/PSX/Console/Generate/BootstrapCacheCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,23 +68,6 @@ public function testCommandAvailable()
$this->assertInstanceOf('PSX\Console\Generate\BootstrapCacheCommand', $command);
}

/**
* Since our code base changes constantly it is possible that getFiles
* method is outdated. With this test we check that at least all files are
* available so no error occurs when generating the bootstrap cache
*/
public function testFilesAvailable()
{
$command = Environment::getService('console')->find('generate:bootstrap_cache');
$files = $command->getFiles();

foreach($files as $file)
{
$file = realpath($file);
$this->assertTrue(is_file($file), $file);
}
}

protected function assertSource($expect, $actual)
{
$expect = str_replace(array("\r\n", "\n", "\r"), "\n", $expect);
Expand Down

0 comments on commit f9e5aaf

Please sign in to comment.