public function setUp()
 {
     parent::setUp();
     $this->storage = new PlainRedisTagVersionStorage(App::make('redis'), 'test_connection', 'prefix');
     $this->manager = new TagVersionManager($this->storage);
     $this->coderManager = new GenericCoderManager();
 }
 public function setUp()
 {
     parent::setUp();
     /** @var Database $redis */
     $redis = App::make('redis');
     $redis->connection('test_connection')->flushall();
     $this->storage = new PlainRedisTagVersionStorage(App::make('redis'), 'test_connection', 'prefix');
 }
 public function setUp()
 {
     parent::setUp();
     //TODO: validate directory existence
     if (!$this->migrationsPath) {
         throw new Exception("Migrations path does not exist");
     }
     $this->artisan('migrate', ['--database' => 'test', '--path' => $this->migrationsPath]);
     $this->artisan('db:seed', ['--class' => DatabaseSeeder::class]);
 }
 public function setUp()
 {
     $this->coder = new PhpSerializeCoder();
     parent::setUp();
 }