If the Senate fails to pass legislation by midnight on Friday, then parts of the federal government will shut down.