fix(tests): repair the build after the Configure/namespace sweep

The namespace flatten (Server.Network.Bans.Blocklist -> Server.Network.Bans)
missed the five blocklist test files, leaving the branch unbuildable with 7
CS0234/CS0246 errors. Point their usings at the collapsed namespace and finish
the IBanReporter/IConnectionFilter Configure -> Register rename in the two
Server.Tests fakes.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Kamron Batman 2026-07-25 11:07:14 -07:00
parent 2a1d345223
commit 4d5ca1105d
No known key found for this signature in database
GPG key ID: 7D81DF26D9A5D94A
7 changed files with 7 additions and 7 deletions

View file

@ -17,7 +17,7 @@ public class BanChannelTests
public string Name => "fake";
public bool CanRetract => true;
public void Configure() { }
public void Register() { }
public void Start(CancellationToken token) { }
public void Stop() { }

View file

@ -109,7 +109,7 @@ public class ConnectionFiltersTests : IDisposable
public int Calls { get; private set; }
public bool Configured { get; private set; }
public void Configure() => Configured = true;
public void Register() => Configured = true;
public void Start(CancellationToken token)
{

View file

@ -16,7 +16,7 @@
using System;
using System.Text.Json;
using Server.Json;
using Server.Network.Bans.Blocklist;
using Server.Network.Bans;
using Xunit;
namespace Server.Tests.Network.Bans.Blocklist;

View file

@ -16,7 +16,7 @@
using System;
using System.IO;
using System.Net;
using Server.Network.Bans.Blocklist;
using Server.Network.Bans;
using Xunit;
namespace Server.Tests.Network.Bans.Blocklist;

View file

@ -15,7 +15,7 @@
using System.Net;
using System.Text;
using Server.Network.Bans.Blocklist;
using Server.Network.Bans;
using Xunit;
namespace Server.Tests.Network.Bans.Blocklist;

View file

@ -14,7 +14,7 @@
*************************************************************************/
using System.Net;
using Server.Network.Bans.Blocklist;
using Server.Network.Bans;
using Xunit;
namespace Server.Tests.Network.Bans.Blocklist;

View file

@ -14,7 +14,7 @@
*************************************************************************/
using System;
using Server.Network.Bans.Blocklist;
using Server.Network.Bans;
using Xunit;
namespace Server.Tests.Network.Bans.Blocklist;