Move "steal item" logic to DropProvider

This commit is contained in:
P0nk
2023-03-15 22:22:14 +01:00
parent 6bf8785f22
commit 703ae30a27
11 changed files with 94 additions and 26 deletions

View File

@@ -104,4 +104,6 @@ class DropProviderTest {
verify(dropDao, times(1)).getGlobalMonsterDrops();
}
// TODO: add tests for getRandomStealDrop() once ItemInformationProvider is able to be mocked.
// Currently, it does database calls (and a bunch of other stuff) in the constructor, which is problematic.
}