anno-mods / AnnoMapEditor

Community editor for Anno 1800 map templates.
Other
38 stars 5 forks source link

Fix UnitTests when Game Files are not available #46

Closed Shad0wlife closed 1 year ago

Shad0wlife commented 1 year ago

Some UnitTests (the RoundTrip Tests) require the game files to be present on the system. This is not the case for some environments (eg. CI builds). These tests are now skipped when the game files are not found.

(This also causes changes in the details of how the Settings class is initialized, though the previous behaviour should be unchanged.)