From 6bed16de4924649cbde5b62445bc47e954edd52a Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Mon, 13 Aug 2018 16:26:24 -0400 Subject: [PATCH] Fix tests --- .../Security/TestAuthenticationContext.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Tgstation.Server.Host.Tests/Security/TestAuthenticationContext.cs b/tests/Tgstation.Server.Host.Tests/Security/TestAuthenticationContext.cs index 91af8fa215..0c2291bfe1 100644 --- a/tests/Tgstation.Server.Host.Tests/Security/TestAuthenticationContext.cs +++ b/tests/Tgstation.Server.Host.Tests/Security/TestAuthenticationContext.cs @@ -44,8 +44,8 @@ namespace Tgstation.Server.Host.Security.Tests user.AdministrationRights = AdministrationRights.EditUsers; instanceUser.ByondRights = ByondRights.ChangeVersion | ByondRights.ReadActive; - Assert.AreEqual((int)user.AdministrationRights, authContext.GetRight(RightsType.Administration)); - Assert.AreEqual((int)instanceUser.ByondRights, authContext.GetRight(RightsType.Byond)); + Assert.AreEqual((ulong)user.AdministrationRights, authContext.GetRight(RightsType.Administration)); + Assert.AreEqual((ulong)instanceUser.ByondRights, authContext.GetRight(RightsType.Byond)); } } }