/** * Load all the factories before the tests */ public static function setupBeforeClass() { FactoryMuff::setSaveMethod('save'); FactoryMuff::loadFactories(__DIR__ . '/../factories'); }