Fix get_connection_pool()
This updates the get_connection_pool() testing function to work with the
new commit store implementation.
@@ -284,8 +284,8 @@ mod test {
}
}
- fn get_connection_pool() -> ConnectionPool {
- database::create_connection_pool(&DATABASE_URL).expect("Unable to unwrap connection pool")
+ fn get_connection_pool() -> ConnectionPool<diesel::pg::PgConnection> {
+ database::ConnectionPool::new(&DATABASE_URL).expect("Unable to unwrap connection pool")
}
fn create_test_server(backend: Backend, response_type: ResponseType) -> TestServer {
