示例#1
0
 /**
  *
  */
 public function setUp()
 {
     parent::__construct();
     $this->refreshApplication();
     $this->assetPipeline = new AsgardAssetPipeline($this->app['Modules\\Core\\Foundation\\Asset\\Manager\\AssetManager']);
     $this->assetManager = $this->app['Modules\\Core\\Foundation\\Asset\\Manager\\AssetManager'];
 }
示例#2
0
 public function setUp()
 {
     parent::setUp();
     /** @var \Illuminate\Console\Application $artisan */
     $artisan = $this->app->make('Illuminate\\Console\\Application');
     $artisan->call('module:migrate', ['module' => 'Blog']);
     $this->post = app('Modules\\Blog\\Repositories\\PostRepository');
     $this->tag = app('Modules\\Blog\\Repositories\\TagRepository');
 }
示例#3
0
 public function setUp()
 {
     parent::__construct();
     $this->assetManager = new AsgardAssetManager();
 }
示例#4
0
文件: ThemeTest.php 项目: Houbsi/Core
 public function setUp()
 {
     parent::setUp();
     $this->theme = new Theme('demo', $this->getPath());
 }
示例#5
0
 /**
  *
  */
 public function setUp()
 {
     parent::setUp();
     $this->repository = new ThemeManager($this->app, $this->getPath());
 }