Пример #1
0
 /**
  * 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();
 }
Пример #2
0
 /**
  * Setup testing environment.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->migrateAuthDatabase();
     KeyPair::registerEvents();
 }
 /**
  * Boot the provider.
  */
 public function boot()
 {
     KeyPair::registerEvents();
 }