Skip to content

Commit

Permalink
Cleanup IDE messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberboss committed Jan 2, 2025
1 parent 548d466 commit 6391b73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sealed class MySqlDesignTimeDbContextFactory : IDesignTimeDbContextFactory<MySql
{
/// <inheritdoc />
public MySqlDatabaseContext CreateDbContext(string[] args)
=> new MySqlDatabaseContext(
=> new(
DesignTimeDbContextFactoryHelpers.CreateDatabaseContextOptions<MySqlDatabaseContext>(
DatabaseType.MariaDB,
"Server=127.0.0.1;User Id=root;Password=zdxfOOTlQFnklwzytzCj;Database=TGS_Design"));
Expand Down
8 changes: 4 additions & 4 deletions tests/Tgstation.Server.Tests/Live/TestLiveServer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
Expand Down Expand Up @@ -294,7 +294,7 @@ public static async Task Initialize(TestContext _)
}
}

[ClassCleanup]
[ClassCleanup(ClassCleanupBehavior.EndOfClass)]
public static void Cleanup()
{
CachingFileDownloader.Cleanup();
Expand Down Expand Up @@ -1751,7 +1751,7 @@ await firstAdminMultiClient.Execute(
}
catch (SocketException ex)
{
Assert.AreEqual(ex.SocketErrorCode, SocketError.AddressAlreadyInUse);
Assert.AreEqual(SocketError.AddressAlreadyInUse, ex.SocketErrorCode);
}
finally
{
Expand Down Expand Up @@ -1897,7 +1897,7 @@ async Task WaitForInitialJobs(IInstanceClient instanceClient)
expectedCompileJobId = compileJob.Id.Value;
dd = await wdt.TellWorldToReboot(true, cancellationToken);

Assert.AreEqual(dd.ActiveCompileJob.Job.Id, expectedCompileJobId);
Assert.AreEqual(expectedCompileJobId, dd.ActiveCompileJob.Job.Id);
Assert.AreEqual(WatchdogStatus.Online, dd.Status.Value);

expectedCompileJobId = dd.ActiveCompileJob.Id.Value;
Expand Down

0 comments on commit 6391b73

Please sign in to comment.