Exemplo n.º 1
0
 /**
  * Indicates if the unit/acceptance tests are run
  * 
  * this is NOT a flag to circumvent tests or behaviour. this is a flag to use the test-datbase for unit-tests
  * @return bool
  */
 public function inTests()
 {
     if (!isset($this->inTests)) {
         $this->inTests = PSC::isTravis() || PSC::isPHPUnit();
     }
     return $this->inTests;
 }