aboutsummaryrefslogtreecommitdiff
path: root/MundusTests/ServiceTests/Tiles/Crafting/CraftingControllerTests.cs
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2020-05-23 18:43:26 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2020-05-23 18:43:26 +0300
commitf0b74ed2874e44e821e03dfcd554346bc4a3df62 (patch)
tree4b7646c92d0e010adaa69d35ecd7a465267347dd /MundusTests/ServiceTests/Tiles/Crafting/CraftingControllerTests.cs
parent667b2fc46c1116c58b106c7307ec8f96d13a3441 (diff)
downloadMundus-f0b74ed2874e44e821e03dfcd554346bc4a3df62.tar
Mundus-f0b74ed2874e44e821e03dfcd554346bc4a3df62.tar.gz
Mundus-f0b74ed2874e44e821e03dfcd554346bc4a3df62.zip
Finished with refactoring. This version is now officially finished.
Diffstat (limited to 'MundusTests/ServiceTests/Tiles/Crafting/CraftingControllerTests.cs')
-rw-r--r--MundusTests/ServiceTests/Tiles/Crafting/CraftingControllerTests.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/MundusTests/ServiceTests/Tiles/Crafting/CraftingControllerTests.cs b/MundusTests/ServiceTests/Tiles/Crafting/CraftingControllerTests.cs
index 5961c72..a7be0ee 100644
--- a/MundusTests/ServiceTests/Tiles/Crafting/CraftingControllerTests.cs
+++ b/MundusTests/ServiceTests/Tiles/Crafting/CraftingControllerTests.cs
@@ -2,9 +2,9 @@
{
using System.Linq;
using Mundus.Data;
- using Mundus.Data.Tiles.Mobs;
- using Mundus.Data.Tiles.Presets;
- using Mundus.Service.Tiles.Crafting;
+ using Mundus.Service.Tiles;
+ using Mundus.Service.Tiles.Items.Presets;
+ using Mundus.Service.Tiles.Mobs;
using NUnit.Framework;
[TestFixture]
@@ -20,7 +20,7 @@
MI.Player.Inventory.AppendToItems(MaterialPresets.GetALandStick());
}
- CraftingController.CraftItemPlayer(recipe);
+ RecipeController.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");
Assert.AreEqual(1, MI.Player.Inventory.Items.Where(x => x != null).Count(), "Not all required items are removed from player's inventory");