dont fail tests when no login possible

This commit is contained in:
knoxfighter 2020-10-17 02:35:26 +02:00
parent 751ea66ebb
commit 7b1d55dce2

View File

@ -48,8 +48,7 @@ func TestMain(m *testing.M) {
// no credentials found, login...
err, _ = factorio.FactorioLogin(os.Getenv("factorio_username"), os.Getenv("factorio_password"))
if err != nil {
log.Fatalf("Error logging in into factorio: %s", err)
return
log.Printf("Error logging in into factorio: %s", err)
}
}