Skip to content

Refactor to use IWorkContextAccessor instead of IWorkContext #1675

Refactor to use IWorkContextAccessor instead of IWorkContext

Refactor to use IWorkContextAccessor instead of IWorkContext #1675

Triggered via push December 26, 2024 10:17
Status Failure
Total duration 2m 0s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

aspnetcore.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: src/Tests/Grand.Business.Common.Tests/Services/Security/PermissionServiceTests.cs#L32
Argument 3: cannot convert from 'Grand.Infrastructure.IWorkContext' to 'Grand.Infrastructure.IWorkContextAccessor'
build: src/Tests/Grand.Business.Common.Tests/Services/Localization/TranslationServiceTests.cs#L34
Argument 1: cannot convert from 'Grand.Infrastructure.IWorkContext' to 'Grand.Infrastructure.IWorkContextAccessor'
build: src/Tests/Grand.Business.Catalog.Tests/Services/Tax/TaxServiceTests.cs#L55
Argument 1: cannot convert from 'Grand.Infrastructure.IWorkContext' to 'Grand.Infrastructure.IWorkContextAccessor'
build: src/Tests/Grand.Business.Catalog.Tests/Services/Categories/ProductCategoryServiceTests.cs#L37
Argument 3: cannot convert from 'Grand.Infrastructure.IWorkContext' to 'Grand.Infrastructure.IWorkContextAccessor'
build: src/Tests/Grand.Business.Catalog.Tests/Services/Collections/ProductCollectionServiceTests.cs#L37
Argument 3: cannot convert from 'Grand.Infrastructure.IWorkContext' to 'Grand.Infrastructure.IWorkContextAccessor'
build: src/Tests/Grand.Business.Catalog.Tests/Services/Brands/BrandServiceTests.cs#L37
Argument 3: cannot convert from 'Grand.Infrastructure.IWorkContext' to 'Grand.Infrastructure.IWorkContextAccessor'
build: src/Tests/Grand.Business.Catalog.Tests/Services/Categories/CategoryServiceTests.cs#L46
Argument 3: cannot convert from 'Grand.Infrastructure.IWorkContext' to 'Grand.Infrastructure.IWorkContextAccessor'
build: src/Tests/Grand.Business.Catalog.Tests/Services/Categories/CategoryServiceTests.cs#L49
Argument 3: cannot convert from 'Grand.Infrastructure.IWorkContext' to 'Grand.Infrastructure.IWorkContextAccessor'
build: src/Tests/Grand.Business.Catalog.Tests/Services/Collections/CollectionServiceTests.cs#L36
Argument 3: cannot convert from 'Grand.Infrastructure.IWorkContext' to 'Grand.Infrastructure.IWorkContextAccessor'
build: src/Tests/Grand.Business.Catalog.Tests/Services/ExportImport/ProductImportDataObjectTests.cs#L92
Argument 3: cannot convert from 'Grand.Infrastructure.IWorkContext' to 'Grand.Infrastructure.IWorkContextAccessor'
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636