From 21bb62d5a2460171d8de7bbaadb9f0752680daf9 Mon Sep 17 00:00:00 2001 From: Chris Johnston Date: Wed, 28 Feb 2018 18:28:52 -0800 Subject: [PATCH] Add missing Fact attributes, separate class so that it is not dependant on main test fixture --- test/Discord.Net.Tests/Tests.Permissions.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/Discord.Net.Tests/Tests.Permissions.cs b/test/Discord.Net.Tests/Tests.Permissions.cs index 1d83de389..e22659d15 100644 --- a/test/Discord.Net.Tests/Tests.Permissions.cs +++ b/test/Discord.Net.Tests/Tests.Permissions.cs @@ -1,10 +1,10 @@ -using System; +using System; using System.Threading.Tasks; using Xunit; namespace Discord { - public partial class Tests + public class PermissionsTests { private void TestHelper(ChannelPermissions value, ChannelPermission permission, bool expected = false) => TestHelper(value.RawValue, (ulong)permission, expected); @@ -119,6 +119,7 @@ namespace Discord /// from the Has method. /// /// + [Fact] public Task TestPermissionsHasChannelPermissionNone() { // check that none will fail all @@ -155,6 +156,7 @@ namespace Discord /// from the Has method. /// /// + [Fact] public Task TestPermissionsHasChannelPermissionDM() { // check that none will fail all @@ -191,6 +193,7 @@ namespace Discord /// from the Has method. /// /// + [Fact] public Task TestPermissionsHasChannelPermissionGroup() { var value = ChannelPermissions.Group;