This commit is contained in:
techknowlogick 2018-06-19 15:30:08 -04:00 committed by GitHub
parent 64a13f71f8
commit 168f119718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,11 +70,11 @@ func Test_getPostgreSQLConnectionString(t *testing.T) {
Host: "/tmp/pg.sock",
Port: "4321",
User: "testuser",
Passwd: "space space !@#$%^^%^```-=?=",
Passwd: "space space !#$%^^%^```-=?=",
Name: "gitea",
Param: "",
SSLMode: "false",
Output: "postgres://testuser:space%20space%20%21@%23$%25%5E%5E%25%5E%60%60%60-=%3F=@:5432/giteasslmode=false&host=/tmp/pg.sock",
Output: "postgres://testuser:space%20space%20%21%23$%25%5E%5E%25%5E%60%60%60-=%3F=@:5432/giteasslmode=false&host=/tmp/pg.sock",
},
{
Host: "localhost",