Example #1
0
 public function testInsertUpdateRow()
 {
     $updateData = array('child_id' => '1', 'child_name' => 'new_child_name');
     $this->childrenTable->insertUpdateRow($updateData);
     $child = $this->childrenTable->getRow('1');
     $this->assertCommonFieldsMatch($child->toArray(), $updateData);
 }