1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-11-24 22:53:52 +02:00
Files
starter/tinkoff_connect/tinkoff_connect_test.go

28 lines
476 B
Go
Raw Normal View History

2024-11-19 11:36:44 +03:00
package tinkoff_connect
import (
"github.com/ManyakRus/starter/config_main"
"testing"
)
func TestFillSettings(t *testing.T) {
config_main.LoadEnvTest()
err := FillSettings()
if err != nil {
t.Error("FillSettings() error: ", err)
}
}
2024-11-19 12:43:10 +03:00
func TestConnect_err(t *testing.T) {
config_main.LoadEnv()
err := Connect_err()
if err != nil {
t.Error("TestConnect error: ", err)
}
err = CloseConnection_err()
if err != nil {
t.Error("TestConnect() error: ", err)
}
}