mirror of
https://github.com/OpenFactorioServerManager/factorio-server-manager.git
synced 2025-01-28 05:36:33 +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...
|
||||
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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user