예제 #1
0
 public static function setUpBeforeClass()
 {
     static::$fm = new FactoryMuffin();
     static::$fm->setSaveMethod(function ($object) {
         // we just do not save anything :)
         return true;
     });
     static::$fm->loadFactories(__DIR__ . '/../factories');
     Faker::setLocale('en_EN');
 }
 public static function setupBeforeClass()
 {
     static::$fm = new FactoryMuffin();
     static::$fm->loadFactories(__DIR__ . '/factories');
     Faker::setLocale('en_GB');
 }