Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dfe-analytical-services/explore-education-statistics
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f8fe25ed43cc08d72f7530707d9b5da2d3dfee2e
Choose a base ref
..
head repository: dfe-analytical-services/explore-education-statistics
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dd3784fe5c0aabc2268d07d0e551512e40e1e1a6
Choose a head ref
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@

namespace GovUk.Education.ExploreEducationStatistics.Admin.Tests.Controllers.Api.Public.Data;

public class DataSetsControllerTests(TestApplicationFactory testApp) : IntegrationTestFixture(testApp)
public abstract class DataSetsControllerTests(TestApplicationFactory testApp) : IntegrationTestFixture(testApp)
{
private const string BaseUrl = "api/public-data/data-sets";

Original file line number Diff line number Diff line change
@@ -48,7 +48,10 @@ protected override IHostBuilder CreateHostBuilder()
.ConfigureServices(services =>
{
services.AddDbContext<PublicDataDbContext>(
options => options.UseNpgsql(_postgreSqlContainer.GetConnectionString()));
options => options
.UseNpgsql(
_postgreSqlContainer.GetConnectionString(),
psqlOptions => psqlOptions.EnableRetryOnFailure()));

using var serviceScope = services.BuildServiceProvider()
.GetRequiredService<IServiceScopeFactory>()
Loading