Пример #1
0
 public function setUp()
 {
     parent::setUp();
     config(['anavel.translation_languages' => ['en', 'es']]);
     config(['anavel-translation.filedriver' => 'diskdriver']);
     config(['app.fallback_locale' => 'en']);
     $this->sut = new FileController();
     $this->config = ['user' => ['one'], 'vendor' => ['vendorname' => 'vendorfile']];
 }
Пример #2
0
 public function setUp()
 {
     parent::setUp();
     $this->config = ['user' => ['one'], 'vendor' => ['vendorname' => 'vendorfile']];
     $this->sut = new HomeController();
 }
 public function setUp()
 {
     parent::setUp();
     $this->sut = new ConfigTraitClass();
     $this->config = (require __DIR__ . '/config.php');
 }