So, the lodestone is down... now our tests are failing, here's a fix...

This commit is contained in:
Daniel_I_Am 2020-08-11 04:46:10 +02:00
parent 79ff643a2e
commit 9f34dd7864
No known key found for this signature in database
GPG Key ID: 80C428FCC9743E84

View File

@ -7,11 +7,20 @@ using NUnit.Framework;
namespace ChaosBot.UnitTests namespace ChaosBot.UnitTests
{ {
[TestFixture]
public class LodestoneTests public class LodestoneTests
{ {
[SetUp] [SetUp]
public void Setup() public void Setup()
{ {
try
{
LodestoneManager.GetCharacter("[server]", "[name]");
}
catch (NullReferenceException)
{
Assert.Ignore();
}
} }
[Test] [Test]