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:
parent
2a1d345223
commit
4d5ca1105d
7 changed files with 7 additions and 7 deletions
|
|
@ -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() { }
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
*************************************************************************/
|
||||
|
||||
using System.Net;
|
||||
using Server.Network.Bans.Blocklist;
|
||||
using Server.Network.Bans;
|
||||
using Xunit;
|
||||
|
||||
namespace Server.Tests.Network.Bans.Blocklist;
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
*************************************************************************/
|
||||
|
||||
using System;
|
||||
using Server.Network.Bans.Blocklist;
|
||||
using Server.Network.Bans;
|
||||
using Xunit;
|
||||
|
||||
namespace Server.Tests.Network.Bans.Blocklist;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue