Neither party wants the government to close ahead of the midterm elections that will determine control of Congress, but Trump has made clear his frustration at the lack of money for his long-promised wall along the U.S.-Mexico border. He says it is “ridiculous” the wall has yet to be fully funded.

With less than a week before a Sept. 30 deadline for a partial shutdown, Republican leaders hope they can get Trump to set aside his frustration about the wall and sign legislation that funds the military and a host of civilian agencies for the next year. The bill also would provide a short-term fix to keep the government running through Dec. 7.

The Senate easily approved the measure last week, with only seven senators voting no.

The vote in the House is expected to be closer, with House conservatives voicing displeasure that money is included for Planned Parenthood but not the wall.

“You want to stanch a blue wave” of Democrats in the midterms? asked Rep. Andy Biggs, R-Ariz., a member of the conservative House Freedom Caucus. “Then keep your promises — and one of those promises is to build the wall.”

Trump himself raised the possibility last week that he may not sign the measure unless wall funding is included.

“Where is the money for border security and the wall in this ridiculous spending bill?” Trump said Thursday on Twitter. Republicans “must finally get tough” against Democrats he said are obstructing law enforcement and border security, he added.