/**
  * Setup the test.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->app = new Application();
     $this->app->bind('config', function () {
         return new Repository(['inliner' => ['paths' => ['stylesheets' => ['some/path/n/stuff']], 'options' => ['cleanup' => false, 'use_inline_styles_block' => false, 'strip_original_tags' => false, 'exclude_media_queries' => false]]]);
     });
 }
 /**
  * Setup testing environment.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->createApplication();
 }
 /**
  * Sets up the fixture, for example, open a network connection.
  * This method is called before a test is executed.
  */
 protected function setUp()
 {
     parent::setUp();
     KeyPair::registerEvents();
 }
 /**
  * Construct an instance of a ServiceProviderTestCase.
  *
  * @param null $name
  * @param array $data
  * @param string $dataName
  */
 public function __construct($name = null, array $data = [], $dataName = '')
 {
     parent::__construct($name, $data, $dataName);
     $this->mockApp = new Application();
 }
Exemple #5
0
 /**
  * @inheritDoc
  */
 protected function tearDown()
 {
     parent::tearDown();
     $this->wipe();
 }