Skip to content

Commit

Permalink
see if pg 15 works on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
olexiyb committed Jun 14, 2024
1 parent 997993a commit 802423c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use env_logger::Env;

use pg_embed::pg_enums::PgAuthMethod;
use pg_embed::pg_errors::PgEmbedError;
use pg_embed::pg_fetch::{PG_V16, PgFetchSettings};
use pg_embed::pg_fetch::{PG_V15, PgFetchSettings};
use pg_embed::postgres::{PgEmbed, PgSettings};

pub async fn setup(
Expand Down Expand Up @@ -34,7 +34,7 @@ pub async fn setup(
migration_dir,
};
let fetch_settings = PgFetchSettings {
version: PG_V16,
version: PG_V15,
..Default::default()
};
let mut pg = PgEmbed::new(pg_settings, fetch_settings).await?;
Expand Down

0 comments on commit 802423c

Please sign in to comment.