From 1d0b49b20fd8040cb4f5eeca60707195e6242c87 Mon Sep 17 00:00:00 2001 From: Antoine A <> Date: Thu, 4 Apr 2024 17:22:56 +0200 Subject: Fix CI --- common/src/test/kotlin/ConfigTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3