/** * Update a recently insert object in the DB */ public function test_update_ok() { $objectnew = new evalcomix_tasks('', '17', '100', 'BB'); $objectnew->insert(); $id = $objectnew->update(); $this->assertTrue($id); $objectnew->delete(); unset($objectnew, $id); }