Skip to content

Commit d6e13f8

Browse files
committed
Fix failing test for sqlite
1 parent ead8891 commit d6e13f8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

sample.env

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ POSTGRES_PORT=5432
1616

1717
SQLITE_HOST=localhost
1818
SQLITE_USER=sequelize_auto
19-
SQLITE_PASS=null
2019

2120
MSSQL_NAME=sequelize_auto_test
2221
MSSQL_USER=sequelize_auto

test/generate.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ describe(helpers.getTestDialectTeaser('sequelize-auto generate'), function() {
7575
console.log(stderr);
7676
}
7777
// Warning: using a password on the command line interface can be insecure.
78-
expect(stderr).to.contain("using a password");
78+
expect(stderr).to.satisfy(s => !s || s.includes("using a password on the command line interface"));
7979

8080
// Cleanup whitespace and linebreaks!
8181
stdout = stdout.replace(/\s+/g, ' ');

0 commit comments

Comments
 (0)