Added Billing integration, IBillingProvider and the Subscription API.… #230
Annotations
3 errors and 33 warnings
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule010 ► WhenFixingMissingCreateMethod_ThenAddsMethod:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L202
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az980-276_2024-06-22_22_55_33[2].trx
Error:
System.InvalidOperationException : Context: Diagnostics of test state
Mismatch between number of diagnostics returned, expected "1" actual "4"
Diagnostics:
// /0/Test0.cs(14,21): warning SAASDDD010: Aggregate root type 'AClass' must implement a class factory method called 'Create()' to create new instances
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD010).WithSpan(14, 21, 14, 27).WithArguments("AClass"),
// /0/Test0.cs(46,28): warning SAASDDD049: Property 'OrganizationId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(46, 28, 46, 42).WithArguments("OrganizationId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(48,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(48, 28, 48, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(50,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(50, 30, 50, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
|
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule018 ► WhenFixingNotSealed_ThenAddsSealed:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L202
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az980-276_2024-06-22_22_55_33[2].trx
Error:
System.InvalidOperationException : Context: Diagnostics of test state
Mismatch between number of diagnostics returned, expected "1" actual "3"
Diagnostics:
// /0/Test0.cs(17,14): warning SAASDDD018: Class 'AClass' must be marked as 'sealed'
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD018).WithSpan(17, 14, 17, 20).WithArguments("AClass"),
// /0/Test0.cs(61,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(61, 28, 61, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(63,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(63, 30, 63, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
|
test
Process completed with exit code 1.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, dorny/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test
Test report summary exceeded limit of 65535 bytes and will be trimmed
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build:
src/Application.Common.UnitTests/Extensions/FeatureFlagExtensionsSpec.cs#L37
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/Application.Common.UnitTests/Extensions/FeatureFlagExtensionsSpec.cs#L52
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/Application.Common.UnitTests/Extensions/FeatureFlagExtensionsSpec.cs#L67
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/Infrastructure.Web.Api.Common.UnitTests/Endpoints/ApiUsageFilterSpec.cs#L74
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/IntegrationTesting.WebApi.Common/WebApiSpec.cs#L210
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/Infrastructure.Persistence.Shared.IntegrationTests/AnyDataStoreBaseSpec.cs#L114
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/Infrastructure.Persistence.Shared.IntegrationTests/Azure/AzureStorageAccountQueueStoreSpec.cs#L40
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/Infrastructure.Persistence.Shared.IntegrationTests/Azure/AzureStorageAccountQueueStoreSpec.cs#L51
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/Infrastructure.Persistence.Shared.IntegrationTests/Azure/AzureServiceBusMessageBusStoreSpec.cs#L30
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/Infrastructure.Persistence.Shared.IntegrationTests/Azure/AzureServiceBusMessageBusStoreSpec.cs#L43
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/Application.Resources.Shared/Ancillary.cs#L30
Property 'Attempts' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/Ancillary.cs#L7
Property 'AgainstId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/Ancillary.cs#L47
Property 'Data' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/Ancillary.cs#L32
Property 'Body' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/Ancillary.cs#L9
Property 'AuditCode' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/Ancillary.cs#L49
Property 'EventType' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/Ancillary.cs#L34
Property 'IsDelivered' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/Ancillary.cs#L11
Property 'MessageTemplate' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/Ancillary.cs#L51
Property 'MetadataFullyQualifiedName' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/Ancillary.cs#L36
Property 'Subject' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/Ancillary.cs#L7
Property 'AgainstId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/EndUser.cs#L45
Property 'Features' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/Ancillary.cs#L9
Property 'AuditCode' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/EndUser.cs#L47
Property 'IsDefault' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/Ancillary.cs#L11
Property 'MessageTemplate' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/EndUser.cs#L49
Property 'OrganizationId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/Ancillary.cs#L30
Property 'Attempts' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/Ancillary.cs#L13
Property 'OrganizationId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/Ancillary.cs#L32
Property 'Body' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/EndUser.cs#L53
Property 'Roles' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|