Skip to content

Commit

Permalink
fix: specifiy username
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Aug 14, 2020
1 parent 4ebd1f5 commit ea0b42c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -11,7 +11,6 @@ jobs:
script:
- psql --version
- pg_isready
- ls -lah /etc/postgresql/12
- rm -fr ./node_modules
- hash -r
- npm install
Expand Down
6 changes: 3 additions & 3 deletions test/slonik/integration.js
Expand Up @@ -35,11 +35,11 @@ beforeEach(async (t) => {
const TEST_DATABASE_NAME = 'slonik_test_' + testId;

t.context = {
dsn: 'postgres://localhost/' + TEST_DATABASE_NAME,
dsn: 'postgresql://postgres@localhost/' + TEST_DATABASE_NAME,
testDatabaseName: TEST_DATABASE_NAME,
};

const pool0 = createPool('postgres://', {
const pool0 = createPool('postgresql://postgres@localhost', {
maximumPoolSize: 1,
});

Expand Down Expand Up @@ -76,7 +76,7 @@ beforeEach(async (t) => {
});

afterEach(async (t) => {
const pool = createPool('postgres://', {
const pool = createPool('postgresql://postgres@localhost', {
maximumPoolSize: 1,
});

Expand Down

0 comments on commit ea0b42c

Please sign in to comment.