From da06491f96bccccc3fbe98f3e67cdc410f5ad5b5 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Wed, 30 Jul 2025 17:40:31 -0400 Subject: [PATCH] Replace deprecated ReferenceEquals with AreSame --- .../Utils/GitHub/TestGitHubClientFactory.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Tgstation.Server.Host.Tests/Utils/GitHub/TestGitHubClientFactory.cs b/tests/Tgstation.Server.Host.Tests/Utils/GitHub/TestGitHubClientFactory.cs index 01bb7bac1f..2de3daff00 100644 --- a/tests/Tgstation.Server.Host.Tests/Utils/GitHub/TestGitHubClientFactory.cs +++ b/tests/Tgstation.Server.Host.Tests/Utils/GitHub/TestGitHubClientFactory.cs @@ -201,8 +201,8 @@ vTdVAoGBAI/jjUMdjkY43zhe3w2piwT0fhGfqm9ikdAB9IcgcptuS0ML0ZaWV/eO var client2 = await factory.CreateClient("asdf", CancellationToken.None); var client3 = await factory.CreateClient(CancellationToken.None); var client4 = await factory.CreateClient("asdf", CancellationToken.None); - Assert.ReferenceEquals(client1, client3); - Assert.ReferenceEquals(client2, client4); + Assert.AreSame(client1, client3); + Assert.AreSame(client2, client4); } } }