1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-11-25 23:02:22 +02:00

сделал Connect_WithApplicationName_err()

This commit is contained in:
Nikitin Aleksandr
2023-11-27 18:05:53 +03:00
parent 53f82c9f35
commit 7acf9a779a
3 changed files with 50 additions and 43 deletions

View File

@@ -99,3 +99,15 @@ func TestConnect(t *testing.T) {
CloseConnection()
}
func TestConnect_WithApplicationName_err(t *testing.T) {
config.LoadEnv()
err := Connect_WithApplicationName_err("test_starter_postgres_pgx")
if err != nil {
t.Error("TestConnect_WithApplicationName_err error: ", err)
}
CloseConnection()
}