President Trump said last night he will sign an $852 billion spending bill to avert a partial government shutdown at the end of the week.

The spending bill passed by the House this week funds all agencies at current levels through Dec. 7. The continuing resolution passed as part of a broader 2019 appropriations package that includes big spending increases for the Pentagon as well as for the Labor, Education and Health and Human Services departments. But it does not include funding for Trump’s border wall, instead postponing that debate until the lame duck.

House Speaker Paul Ryan (R-WI) also talked to Trump Wednesday and was convinced he will sign the bill despite the absence of funding for Trump’s wall at the U.S.-Mexico border.

“I’m confident he will sign it,” Ryan said. “This funds our military, this funds opioids, this does a lot of the things that we all want to accomplish together and we’ve had very good conversations with the president.”

There has been some anxiety among congressional Republicans that Trump would allow a government shutdown to occur in the weeks leading up to the midterm elections. Trump called the spending bill “ridiculous” in a tweet last week and demanded to know where his border wall money was. Trump said at the time that Republicans need to “get tough” on spending priorities.