Fixes for unit tests

This commit is contained in:
Deukhoofd committed 2025-06-07 11:34:37 +02:00
1 parent 273d26057a
commit af0126e413
5 files changed
+26 -5

No files matched your search

@@ -72,7 +72,8 @@ public class MultiAttackTests
user.Library.Returns(dynamicLibrary);
dynamicLibrary.StaticLibrary.Returns(staticLibrary);
staticLibrary.Types.Returns(typeLibrary);
item.Name.Returns((StringKey)test.ItemName!);
if (test.ItemName != null)
item.Name.Returns(new StringKey(test.ItemName));
move.User.Returns(user);
if (test.ItemName != null)