示例#1
0
 /**
  * Test helper to fetch object
  *
  * @return Transaction
  */
 public function testHelperGet()
 {
     $transaction = $this->repo->findOneByName('TestTransaksjon');
     if (is_null($transaction)) {
         $transaction = $this->repo->findOneByName('TestTransaksjon2');
     }
     return $transaction;
 }
示例#2
0
 /**
  * Test helper to fetch testSubProject object
  *
  * @return SubProject
  */
 public function testHelperGet()
 {
     return $this->repo->findOneByName('TestDelprosjekt');
 }
示例#3
0
 /**
  * Test helper to fetch testBudget object
  *
  * @return Budget
  */
 public function testHelperGet()
 {
     return $this->repo->findOneByName('TestBudsjett');
 }