Skip to content

Commit 3528e83

Browse files
committed
try to not use pw
1 parent fed55b9 commit 3528e83

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ jobs:
4848
sudo systemctl start postgresql
4949
sudo -u postgres psql -c "SELECT version();"
5050
sudo -u postgres psql -tAc "SHOW port;"
51-
sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"
5251
sudo -u postgres createdb golden_axe_test
5352
5453
- name: Wait for Postgres

shared/src/pg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub mod test {
4747
const MAX_AGE: Duration = Duration::from_secs(300);
4848

4949
pub async fn new(schema: &str) -> Pool {
50-
let admin_db_url = "postgres://postgres:postgres@localhost:5432/golden_axe_test";
50+
let admin_db_url = "postgres://postgres:@localhost:5432/golden_axe_test";
5151
let admin = super::new_pool(admin_db_url, 1).unwrap();
5252
cleanup_old_dbs(&admin).await;
5353

0 commit comments

Comments
 (0)