/** * 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; }
/** * Test helper to fetch testSubProject object * * @return SubProject */ public function testHelperGet() { return $this->repo->findOneByName('TestDelprosjekt'); }
/** * Test helper to fetch testBudget object * * @return Budget */ public function testHelperGet() { return $this->repo->findOneByName('TestBudsjett'); }