/** * Update object in the DB. Return false because the object is not in the DB */ public function test_update_fail() { $objectnew = new evalcomix_tasks('', '22', '100', 'LL'); $id = $objectnew->update(); $this->assertFalse($id); unset($objectnew); }