Example #1
0
 /**
  * tearDown metodē tiek dzēsts pievienotais ieraksts
  */
 public function testListLevel()
 {
     $aAssumedResult = array(0 => array('id' => $this->nListLevelId, 'label' => 'label', 'value' => 'label', 'parent_id' => 999, 'level' => Level::LEVEL_2, 'code' => 'code', 'hidden' => Level::VISIBLE, 'external' => false));
     //print_r($aAssumedResult);
     $aResult = $this->object->listLevel(999, 2, 'cod');
     //print_r($aResult);
     $this->assertEquals($aAssumedResult, $aResult);
 }