From 9f34dd7864d50ef4689a4d1a5bc96e23f2723cb3 Mon Sep 17 00:00:00 2001 From: Daniel-I-Am Date: Tue, 11 Aug 2020 04:46:10 +0200 Subject: [PATCH] So, the lodestone is down... now our tests are failing, here's a fix... --- ChaosBot.UnitTests/LodestoneTests.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ChaosBot.UnitTests/LodestoneTests.cs b/ChaosBot.UnitTests/LodestoneTests.cs index 0ccd1c6..3146ab3 100644 --- a/ChaosBot.UnitTests/LodestoneTests.cs +++ b/ChaosBot.UnitTests/LodestoneTests.cs @@ -7,11 +7,20 @@ using NUnit.Framework; namespace ChaosBot.UnitTests { + [TestFixture] public class LodestoneTests { [SetUp] public void Setup() { + try + { + LodestoneManager.GetCharacter("[server]", "[name]"); + } + catch (NullReferenceException) + { + Assert.Ignore(); + } } [Test]