From 64cd974c8758d15cd64f75d54951271196a9259c Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Thu, 25 Jun 2020 17:37:34 -0400 Subject: [PATCH] Correct LINQ statement --- tests/Tgstation.Server.Tests/AdministrationTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Tgstation.Server.Tests/AdministrationTest.cs b/tests/Tgstation.Server.Tests/AdministrationTest.cs index 92ac5b0216..f3fb7c1155 100644 --- a/tests/Tgstation.Server.Tests/AdministrationTest.cs +++ b/tests/Tgstation.Server.Tests/AdministrationTest.cs @@ -29,7 +29,7 @@ namespace Tgstation.Server.Tests { var logs = await client.ListLogs(cancellationToken); Assert.AreNotEqual(0, logs.Count); - var logFile = logs.Single(); + var logFile = logs.First(); Assert.IsNotNull(logFile); Assert.IsFalse(String.IsNullOrWhiteSpace(logFile.Name)); Assert.IsNull(logFile.Content);