示例#1
0
 /**
  * Set up the controller test
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->resetTestData();
     // Stub out Sendmail in favor of a no-op mail substitute.
     $transport = $this->sm->get('MailTransport');
     $transport->setCallable(array($this, 'mailStub'));
 }
 /**
  * Set up the controller test
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->resetTestData();
 }
示例#3
0
 /**
  * Set up the controller test
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->citationStyles = $this->sm->get('CitationstyleConversion\\Model\\Citationstyles');
     $this->resetTestData();
 }