Skip to content

Commit

Permalink
Fix function args
Browse files Browse the repository at this point in the history
  • Loading branch information
U-lis committed Sep 23, 2024
1 parent f23bf2b commit d010c9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 31 deletions.
24 changes: 2 additions & 22 deletions NineChronicles.Headless.Tests/ArenaParticipantsWorkerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@
using Libplanet.Mocks;
using Nekoyume;
using Nekoyume.Action;
using Nekoyume.Model;
using Nekoyume.Model.Arena;
using Nekoyume.Model.EnumType;
using Nekoyume.Model.Item;
using Nekoyume.Model.Quest;
using Nekoyume.Model.State;
using Nekoyume.Module;
using Nekoyume.TableData;
Expand Down Expand Up @@ -117,16 +115,7 @@ public void GetArenaParticipants()
avatarAddress,
agentAddress,
0,
new QuestList(
tableSheets.QuestSheet,
tableSheets.QuestRewardSheet,
tableSheets.QuestItemRewardSheet,
tableSheets.EquipmentItemRecipeSheet,
tableSheets.EquipmentItemSubRecipeSheet
),
new WorldInformation(
0, tableSheets.WorldSheet, GameConfig.IsEditor, "test"
),
tableSheets.GetAvatarSheets(),
new Address(),
"avatar_state"
);
Expand All @@ -135,16 +124,7 @@ public void GetArenaParticipants()
avatar2Address,
agentAddress,
0,
new QuestList(
tableSheets.QuestSheet,
tableSheets.QuestRewardSheet,
tableSheets.QuestItemRewardSheet,
tableSheets.EquipmentItemRecipeSheet,
tableSheets.EquipmentItemSubRecipeSheet
),
new WorldInformation(
0, tableSheets.WorldSheet, GameConfig.IsEditor, "test"
),
tableSheets.GetAvatarSheets(),
new Address(),
"avatar_state2"
);
Expand Down
11 changes: 2 additions & 9 deletions NineChronicles.Headless.Tests/Common/Fixtures.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
using Nekoyume.Model.Item;
using Nekoyume.Model.Quest;
using Nekoyume.Model.State;
using Nekoyume.TableData;

namespace NineChronicles.Headless.Tests
{
Expand All @@ -33,15 +34,7 @@ public static class Fixtures
AvatarAddress,
UserAddress,
0,
new QuestList(
TableSheetsFX.GetAvatarSheets().QuestSheet,
TableSheetsFX.GetAvatarSheets().QuestRewardSheet,
TableSheetsFX.GetAvatarSheets().QuestItemRewardSheet,
TableSheetsFX.GetAvatarSheets().EquipmentItemRecipeSheet,
TableSheetsFX.GetAvatarSheets().EquipmentItemSubRecipeSheet
),
new WorldInformation(0, TableSheetsFX.GetAvatarSheets().WorldSheet,
GameConfig.IsEditor, "test"),
TableSheetsFX.GetAvatarSheets(),
new Address(),
"avatar_state_fx"
);
Expand Down

0 comments on commit d010c9a

Please sign in to comment.