aboutsummaryrefslogtreecommitdiff
path: root/MundusTests/ServiceTests/Tiles/Crafting/CraftingControllerTests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MundusTests/ServiceTests/Tiles/Crafting/CraftingControllerTests.cs')
-rw-r--r--MundusTests/ServiceTests/Tiles/Crafting/CraftingControllerTests.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/MundusTests/ServiceTests/Tiles/Crafting/CraftingControllerTests.cs b/MundusTests/ServiceTests/Tiles/Crafting/CraftingControllerTests.cs
index e0cd66d..5961c72 100644
--- a/MundusTests/ServiceTests/Tiles/Crafting/CraftingControllerTests.cs
+++ b/MundusTests/ServiceTests/Tiles/Crafting/CraftingControllerTests.cs
@@ -1,11 +1,9 @@
namespace MundusTests.ServiceTests.Tiles.Crafting
{
using System.Linq;
- using Gtk;
using Mundus.Data;
using Mundus.Data.Tiles.Mobs;
using Mundus.Data.Tiles.Presets;
- using Mundus.Data.Windows;
using Mundus.Service.Tiles.Crafting;
using NUnit.Framework;
@@ -17,10 +15,11 @@
{
var recipe = DataBaseContexts.CTContext.CraftingRecipes.First(x => x.ResultItem == "wooden_shovel");
- for(int i = 0; i < recipe.Count1; i++)
+ for (int i = 0; i < recipe.Count1; i++)
{
MI.Player.Inventory.AppendToItems(MaterialPresets.GetALandStick());
}
+
CraftingController.CraftItemPlayer(recipe);
Assert.Contains(recipe.ResultItem, MI.Player.Inventory.Items.Where(x => x != null).Select(x => x.stock_id).ToArray(), "Result item isn't added to player's inventory");