From 992e8454bbdcb2c6c6b7c7bb3f052ebc262d05b9 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Thu, 2 Aug 2018 18:10:12 +0200 Subject: Begin testing. Add simple smoke test, and enable the test transaction for the database. --- src/utils/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils') diff --git a/src/utils/mod.rs b/src/utils/mod.rs index 23b551e..b7811d4 100644 --- a/src/utils/mod.rs +++ b/src/utils/mod.rs @@ -4,7 +4,7 @@ use r2d2_diesel::ConnectionManager; use std::fmt::Display; // An alias to the type for a pool of Diesel PostgreSql connections. -type Pool = r2d2::Pool>; +pub type Pool = r2d2::Pool>; /// Initializes a database pool. pub fn init_db_pool(dburl: &str) -> Pool { -- cgit v1.2.3