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:
@@ -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()
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user