class_exists was returning fals for the container aware interface

This commit is contained in:
Beau Simensen 2012-07-09 09:02:51 -07:00
parent fe7e57dfa6
commit 28b6557915

View File

@ -25,7 +25,7 @@ class BundleTest extends \PHPUnit_Framework_TestCase
$this->markTestSkipped('The "Console" component is not available');
}
if (!class_exists('Symfony\Component\DependencyInjection\ContainerAwareInterface')) {
if (!interface_exists('Symfony\Component\DependencyInjection\ContainerAwareInterface')) {
$this->markTestSkipped('The "DependencyInjection" component is not available');
}