The approval was expected because Hamas holds a majority in the parliament .