Skip to content

Commit 0156a1b

Browse files
committed
Fix Jenkins configuration in test
Signed-off-by: Joern Bernhardt <jb@campudus.com>
1 parent f2b3070 commit 0156a1b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/scala/io/vertx/asyncsql/test/postgresql/BadlyConfiguredPostgreSqlTest.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ import scala.concurrent.Future
88

99
class BadlyConfiguredPostgreSqlTest extends SqlTestVerticle {
1010

11-
override def getConfig() = baseConf.putString("database", "nonexistent")
11+
override def getConfig() = baseConf.putString("username", "vertx").putString("password", "test").putString("database", "nonexistent")
1212

1313
@Test
1414
def testNonExistentDatabase(): Unit = asyncTest {
1515
expectError(raw("SELECT 0")) map { reply =>
1616
assertTrue(reply.getString("message").contains("nonexistent"))
1717
}
1818
}
19+
1920
}

0 commit comments

Comments
 (0)