Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
nexus4880 committed Jan 26, 2025
1 parent a1b46b8 commit 0ee391c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions Fuyu.Backend.EFTMain/EftLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ public void Load()
OnLoadCustomizations();
OnLoadCustomizationStorage();
OnLoadDefaultBuilds();
OnLoadWipeProfiles();
OnLoadWorldMap();
OnLoadHideoutSettings();
OnLoadAchievementStatistics();
Expand Down
8 changes: 3 additions & 5 deletions Tests/Fuyu.Tests.Backend.EFT/EndToEnd/BackendTest.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Fuyu.Backend.BSG;
using Fuyu.Backend.BSG.Models.Accounts;
using Fuyu.Backend.BSG.Models.Bots;
using Fuyu.Backend.BSG.Models.Raid;
Expand All @@ -11,10 +11,7 @@
using Fuyu.Backend.EFTMain;
using Fuyu.Backend.EFTMain.Services;
using Fuyu.Common.Hashing;
using Fuyu.Common.IO;
using Fuyu.Common.Networking;
using Fuyu.Common.Serialization;
using Fuyu.Common.Services;
using Fuyu.Tests.Backend.EFT.Networking;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AccountService = Fuyu.Backend.Core.Services.AccountService;
Expand Down Expand Up @@ -58,8 +55,9 @@ public static void AssemblyInitialize(TestContext testContext)
{
// setup databases
CoreLoader.Instance.Load();
EftLoader.Instance.OnResxSet += ItemFactoryLoader.Instance.Load;
EftLoader.Instance.Load();

// setup servers
var coreServer = new CoreServer();
coreServer.RegisterServices();
Expand Down

0 comments on commit 0ee391c

Please sign in to comment.