From f0b74ed2874e44e821e03dfcd554346bc4a3df62 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 23 May 2020 18:43:26 +0300 Subject: Finished with refactoring. This version is now officially finished. --- .../ServiceTests/Tiles/Crafting/CraftingControllerTests.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'MundusTests/ServiceTests/Tiles/Crafting/CraftingControllerTests.cs') 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"); -- cgit v1.2.3