예제 #1
0
 /**
  * Set up the tests.
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     SlugifyTestModelMock::observe(new AddSlugAttribute());
 }
 public function setUp()
 {
     parent::setUp();
     $this->createFixtures(3);
     $this->omitModifiedCount = version_compare($this->getServerVersion(), '2.6.0', '<');
 }
예제 #3
0
 protected function setUp()
 {
     parent::setUp();
     copy(__DIR__ . '/../../../LICENSE', self::$sharePath . '/LICENSE');
 }
 public function setUp()
 {
     parent::setUp();
     $this->createFixtures(3);
 }
예제 #5
0
 /**
  * Setuo the tests.
  */
 public function setUp()
 {
     parent::setUp();
     $this->factory = ['name' => 'John Doe', 'username' => 'val1d_user.name', 'password' => 'valid$pasworkthatis exception@llystrong_even-with_speci@l_characer$'];
     $this->server = ['HTTP_REFERER' => route('activation.create')];
 }
예제 #6
0
 public function setUp()
 {
     parent::setUp();
     $this->migrateTable();
     $this->seedData();
 }
예제 #7
0
 /**
  * Set up the tests.
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->mockFlash();
     $this->credentials = ['email' => 'email', 'password' => 'password'];
 }
 public function setUp()
 {
     parent::setUp();
     Eloquent::unguard();
 }
예제 #9
0
 /**
  * Seed the database before running each test.
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->artisan('db:seed');
 }
예제 #10
0
 /**
  * Set up the tests.
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     SluggableTestModelMock::observe(new AddSlugAttribute());
     SluggableTestModelMock::create(['name' => 'Private']);
 }
예제 #11
0
 public function setUp()
 {
     parent::setUp();
     $this->createSchema($this->connection->getDoctrineConnection());
 }
예제 #12
0
 public function setUp()
 {
     parent::setUp();
     $this->migrate();
     $this->faktory = new Faktory();
 }
예제 #13
0
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     DbFixture::load('forms', 'form');
 }