The measure was passed as part of a unanimous consent agreement before the Senate adjourned for the evening and now heads to the House.

The Senate is working on a continued spending resolution to ensure that the government remains funded after Oct. 1. Votes on the measure will be held Friday afternoon.

The government will shut down Oct. 1 if Congress doesn't approve some form of government funding measure.