Fixed test if Faker not available

This commit is contained in:
William DURAND 2012-06-24 01:01:09 +02:00
parent 5a764c6181
commit b8720a62e5

View file

@ -203,6 +203,10 @@ YAML;
public function testLoadWithFaker()
{
if (!class_exists('Faker\Factory')) {
$this->markTestSkipped('Faker is mandatory');
}
$fixtures = <<<YAML
Propel\PropelBundle\Tests\Fixtures\DataFixtures\Loader\Book:
Book_1: