mirror of
https://github.com/OpenFactorioServerManager/factorio-server-manager.git
synced 2025-02-05 13:24:57 +02:00
dont fail tests when no login possible
This commit is contained in:
parent
751ea66ebb
commit
7b1d55dce2
@ -48,8 +48,7 @@ func TestMain(m *testing.M) {
|
|||||||
// no credentials found, login...
|
// no credentials found, login...
|
||||||
err, _ = factorio.FactorioLogin(os.Getenv("factorio_username"), os.Getenv("factorio_password"))
|
err, _ = factorio.FactorioLogin(os.Getenv("factorio_username"), os.Getenv("factorio_password"))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("Error logging in into factorio: %s", err)
|
log.Printf("Error logging in into factorio: %s", err)
|
||||||
return
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user