Skip to content

Commit

Permalink
Merge pull request #27 from UnicordDev/feature/spoilers
Browse files Browse the repository at this point in the history
Moderation Super PR
  • Loading branch information
WamWooWam authored Dec 26, 2024
2 parents c0f868c + 57a0b72 commit 76c7b4f
Show file tree
Hide file tree
Showing 119 changed files with 6,774 additions and 381 deletions.
19 changes: 19 additions & 0 deletions Test/UniSky.Moderation.Test/Helpers.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
namespace UniSky.Moderation.Test;

internal static class Helpers
{
internal static void AssertModerationUI(
ModerationUI ui,
bool alert = false,
bool blur = false,
bool filter = false,
bool inform = false,
bool noOverride = false)
{
Assert.Equal(alert, ui.Alert);
Assert.Equal(blur, ui.Blur);
Assert.Equal(filter, ui.Filter);
Assert.Equal(inform, ui.Inform);
Assert.Equal(noOverride, ui.NoOverride);
}
}
Loading

0 comments on commit 76c7b4f

Please sign in to comment.