diff --git a/Iceshrimp.Tests/Cryptography/HttpSignatureTests.cs b/Iceshrimp.Tests/Cryptography/HttpSignatureTests.cs index de776381..7790b9ab 100644 --- a/Iceshrimp.Tests/Cryptography/HttpSignatureTests.cs +++ b/Iceshrimp.Tests/Cryptography/HttpSignatureTests.cs @@ -2,6 +2,7 @@ using System.Text; using Iceshrimp.Backend.Core.Federation.ActivityStreams; using Iceshrimp.Backend.Core.Federation.ActivityStreams.Types; using Iceshrimp.Backend.Core.Federation.Cryptography; +using Iceshrimp.Backend.Core.Middleware; using Iceshrimp.Backend.Core.Services; using Microsoft.Extensions.DependencyInjection; using Newtonsoft.Json.Linq; @@ -41,8 +42,8 @@ public class HttpSignatureTests { request.Headers.Date = DateTimeOffset.Now - TimeSpan.FromHours(13); - await Assert.ThrowsExceptionAsync(async () => - await request.Verify(MockObjects.UserKeypair.PublicKey)); + await Assert.ThrowsExceptionAsync(async () => + await request.Verify(MockObjects.UserKeypair.PublicKey)); } [TestMethod]