diff --git a/GetIntoTeachingApi/GetIntoTeachingApi.csproj b/GetIntoTeachingApi/GetIntoTeachingApi.csproj index c42763668..addc9d3ba 100644 --- a/GetIntoTeachingApi/GetIntoTeachingApi.csproj +++ b/GetIntoTeachingApi/GetIntoTeachingApi.csproj @@ -35,7 +35,7 @@ - + diff --git a/GetIntoTeachingApiTests/Helpers/ContractTestGitWebApplicationFactory.cs b/GetIntoTeachingApiTests/Helpers/ContractTestGitWebApplicationFactory.cs index 611aa027e..f046072fc 100644 --- a/GetIntoTeachingApiTests/Helpers/ContractTestGitWebApplicationFactory.cs +++ b/GetIntoTeachingApiTests/Helpers/ContractTestGitWebApplicationFactory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using AspNetCoreRateLimit; using GetIntoTeachingApi.Adapters; @@ -25,6 +25,8 @@ public ContractTestGitWebApplicationFactory(ContractTestState state) protected override void ConfigureWebHost(IWebHostBuilder builder) { + builder.UseSentry(dsn: ""); + builder.ConfigureServices(services => { // Use in-memory rate limit counters for tests. diff --git a/GetIntoTeachingApiTests/Helpers/GitWebApplicationFactory.cs b/GetIntoTeachingApiTests/Helpers/GitWebApplicationFactory.cs index 417249024..876473daa 100644 --- a/GetIntoTeachingApiTests/Helpers/GitWebApplicationFactory.cs +++ b/GetIntoTeachingApiTests/Helpers/GitWebApplicationFactory.cs @@ -12,6 +12,8 @@ public class GitWebApplicationFactory { protected override void ConfigureWebHost(IWebHostBuilder builder) { + builder.UseSentry(dsn: ""); + builder.ConfigureServices(services => { // Remove Redis rate limiting.