Fix unit tests
This commit is contained in:
parent
de3ca32aa9
commit
14785de8c2
1 changed files with 3 additions and 2 deletions
|
@ -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,7 +42,7 @@ public class HttpSignatureTests {
|
|||
|
||||
request.Headers.Date = DateTimeOffset.Now - TimeSpan.FromHours(13);
|
||||
|
||||
await Assert.ThrowsExceptionAsync<Exception>(async () =>
|
||||
await Assert.ThrowsExceptionAsync<CustomException>(async () =>
|
||||
await request.Verify(MockObjects.UserKeypair.PublicKey));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue