diff options
-rw-r--r-- | common/src/test/kotlin/ConfigTest.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/test/kotlin/ConfigTest.kt b/common/src/test/kotlin/ConfigTest.kt index 1450c18e..d27e9512 100644 --- a/common/src/test/kotlin/ConfigTest.kt +++ b/common/src/test/kotlin/ConfigTest.kt @@ -58,7 +58,7 @@ class ConfigTest { assertEquals("jdbc:postgresql://localhost/?user=$user&socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory\$FactoryArg&socketFactoryArg=/var/run/postgresql/.s.PGSQL.1234", jdbcFromPg("postgresql:///")) } withEnvironmentVariable("PGPORT", "1234").and("PGHOST", "/tmp").execute { - assertEquals("jdbc:postgresql://localhost/?user=antoine&socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory\$FactoryArg&socketFactoryArg=/tmp/.s.PGSQL.1234", jdbcFromPg("postgresql:///")) + assertEquals("jdbc:postgresql://localhost/?user=$user&socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory\$FactoryArg&socketFactoryArg=/tmp/.s.PGSQL.1234", jdbcFromPg("postgresql:///")) } } }
\ No newline at end of file |