Skip to content

Merge branch 'main' into feature/posts #1006

Merge branch 'main' into feature/posts

Merge branch 'main' into feature/posts #1006

Triggered via push December 15, 2024 18:50
Status Failure
Total duration 1m 23s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 4 warnings
Jordnaer.Tests.Profile.ImageServiceTests.UploadImage_OverridesExistingBlob_Successfully
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Migrations.PendingModelChangesWarning': The model for context 'JordnaerDbContext' has pending changes. Add a new migration before updating the database. This exception can be suppressed or logged by passing event ID 'RelationalEventId.PendingModelChangesWarning' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
Jordnaer.Tests.Profile.ImageServiceTests.UploadImage_UsingFileStream_Successfully
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Migrations.PendingModelChangesWarning': The model for context 'JordnaerDbContext' has pending changes. Add a new migration before updating the database. This exception can be suppressed or logged by passing event ID 'RelationalEventId.PendingModelChangesWarning' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
Jordnaer.Tests.Profile.ImageServiceTests.UploadImage_UsingByteArray_Successfully
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Migrations.PendingModelChangesWarning': The model for context 'JordnaerDbContext' has pending changes. Add a new migration before updating the database. This exception can be suppressed or logged by passing event ID 'RelationalEventId.PendingModelChangesWarning' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
Jordnaer.Tests.Profile.ImageServiceTests.DeleteImage_Successfully
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Migrations.PendingModelChangesWarning': The model for context 'JordnaerDbContext' has pending changes. Add a new migration before updating the database. This exception can be suppressed or logged by passing event ID 'RelationalEventId.PendingModelChangesWarning' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
Jordnaer.Tests.Category.CategoryCacheTests.Get_Categories_Successfully: tests/web/Jordnaer.Tests/Category/CategoryCacheTests.cs#L17
System.InvalidOperationException : An error was generated for warning 'Microsoft.EntityFrameworkCore.Migrations.PendingModelChangesWarning': The model for context 'JordnaerDbContext' has pending changes. Add a new migration before updating the database. This exception can be suppressed or logged by passing event ID 'RelationalEventId.PendingModelChangesWarning' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
test
Process completed with exit code 1.
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test: src/web/Jordnaer/Extensions/WebApplicationBuilderExtensions.cs#L168
'SqlServerDbContextOptionsBuilder.UseAzureSqlDefaults(bool)' is obsolete: 'Use UseAzureSql instead of UseSqlServer with UseAzureSqlDefaults.'
test: src/web/Jordnaer/Features/Profile/EditChildProfileTabs.razor#L73
Unboxing a possibly null value.
test: src/web/Jordnaer/Features/Profile/EditChildProfileTabs.razor#L80
Unboxing a possibly null value.