1
0
Fork 0

use statement

pull/2828/head
Jan Brecka 2014-03-24 10:30:50 +01:00
parent a41370b021
commit 5763685e69
1 changed files with 3 additions and 2 deletions

View File

@ -12,6 +12,7 @@
namespace Composer\Test\Autoload;
use Composer\Autoload\ClassMapGenerator;
use Symfony\Component\Finder\Finder;
class ClassMapGeneratorTest extends \PHPUnit_Framework_TestCase
{
@ -82,7 +83,7 @@ class ClassMapGeneratorTest extends \PHPUnit_Framework_TestCase
$this->markTestSkipped('Finder component is not available');
}
$finder = new \Symfony\Component\Finder\Finder();
$finder = new Finder();
$finder->files()->in(__DIR__ . '/Fixtures/beta/NamespaceCollision');
$this->assertEqualsNormalized(array(
@ -113,7 +114,7 @@ class ClassMapGeneratorTest extends \PHPUnit_Framework_TestCase
$this->markTestSkipped('Finder component is not available');
}
$finder = new \Symfony\Component\Finder\Finder();
$finder = new Finder();
$finder->files()->in(__DIR__ . '/Fixtures/Ambiguous');
ClassMapGenerator::createMap($finder);