Refactor the handling of date time to no longer depend on a static
Build / Build (push) Successful in 10m13s
Build / Build (push) Successful in 10m13s
This commit is contained in:
11 files changed
+53
-39
No files matched your search
@@ -1,4 +1,5 @@
|
||||
using PkmnLib.Dynamic.Libraries;
|
||||
using PkmnLib.Dynamic.Plugins;
|
||||
using PkmnLib.Plugin.Gen7;
|
||||
|
||||
namespace PkmnLib.Tests.Integration;
|
||||
@@ -12,7 +13,10 @@ public static class LibraryHelpers
|
||||
{
|
||||
DamageCalculatorHasRandomness = false,
|
||||
}),
|
||||
]);
|
||||
], new PluginEnvironmentHelpers
|
||||
{
|
||||
DateTimeProvider = () => DateTimeOffset.Now,
|
||||
});
|
||||
return dynamicLibrary;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user