예제 #1
0
 /**
  * Tests Frapi_Action->executeDelete()
  */
 public function testExecuteDelete()
 {
     // TODO Auto-generated Frapi_ActionTest->testExecuteDelete()
     $this->markTestIncomplete("executeDelete test not implemented");
     $this->action->executeDelete();
 }
예제 #2
0
 public function testExecuteDeleteSuccessful()
 {
     $this->_action->setActionParams(array('delete' => 12, 'public_test' => 'w00t!'));
     $delete = $this->_action->executeDelete();
     $this->assertEquals(1, $delete['success']);
 }