Skip to content

Added adapter and tests #248

Added adapter and tests

Added adapter and tests #248

Triggered via push June 30, 2024 08:19
Status Failure
Total duration 6m 51s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 23 warnings
build: src/Infrastructure.Shared.IntegrationTests/ApplicationServices/External/ChargebeeHttpServiceClientSpec.cs#L77
'ChargebeeHttpServiceClient' does not contain a definition for 'CreateCustomerAsync' and no accessible extension method 'CreateCustomerAsync' accepting a first argument of type 'ChargebeeHttpServiceClient' could be found (are you missing a using directive or an assembly reference?)
build: src/Infrastructure.Shared.IntegrationTests/ApplicationServices/External/ChargebeeHttpServiceClientSpec.cs#L91
'ChargebeeHttpServiceClient' does not contain a definition for 'CreateCustomerPaymentMethod' and no accessible extension method 'CreateCustomerPaymentMethod' accepting a first argument of type 'ChargebeeHttpServiceClient' could be found (are you missing a using directive or an assembly reference?)
build: src/Infrastructure.Shared.IntegrationTests/ApplicationServices/External/ChargebeeHttpServiceClientSpec.cs#L77
'ChargebeeHttpServiceClient' does not contain a definition for 'CreateCustomerAsync' and no accessible extension method 'CreateCustomerAsync' accepting a first argument of type 'ChargebeeHttpServiceClient' could be found (are you missing a using directive or an assembly reference?)
build: src/Infrastructure.Shared.IntegrationTests/ApplicationServices/External/ChargebeeHttpServiceClientSpec.cs#L91
'ChargebeeHttpServiceClient' does not contain a definition for 'CreateCustomerPaymentMethod' and no accessible extension method 'CreateCustomerPaymentMethod' accepting a first argument of type 'ChargebeeHttpServiceClient' could be found (are you missing a using directive or an assembly reference?)
build
Process completed with exit code 1.
Domain.Common.UnitTests.Entities.DomainEventExtensionsSpec ► WhenToEventJsonWithPopulatedEvent_ThenReturnsJson: src/Domain.Common.UnitTests/Entities/DomainEventExtensionsSpec.cs#L43
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-456_2024-06-30_08_25_18.trx Error: Expected string to be "{"APropertyValue":"apropertyvalue","RootId":"anid","OccurredUtc":"2024-06-30T08:25:18.7726007Z"}", but "{"APropertyValue":"apropertyvalue","OccurredUtc":"2024-06-30T08:25:18.7726007Z","RootId":"anid"}" differs near "Occ" (index 36).
Domain.Common.UnitTests.Entities.DomainEventExtensionsSpec ► WhenToVersioned_ThenReturnsEvent: src/Domain.Common.UnitTests/Entities/DomainEventExtensionsSpec.cs#L69
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-456_2024-06-30_08_25_18.trx Error: Expected result.Data to be "{"APropertyValue":"apropertyvalue","RootId":"anid","OccurredUtc":"2024-06-30T08:25:18Z"}", but "{"APropertyValue":"apropertyvalue","OccurredUtc":"2024-06-30T08:25:18Z","RootId":"anid"}" differs near "Occ" (index 36).
Domain.Shared.UnitTests.Subscriptions.ProviderInvoiceSpec ► WhenCreate_ThenCreatesInvoice: src/Domain.Shared.UnitTests/Subscriptions/ProviderInvoiceSpec.cs#L29
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-456_2024-06-30_08_25_36.trx Error: Expected result.Value.CurrencyCode.Currency to be Common.CurrencyCodeIso4217 { Code = "USD", Kind = CurrencyDecimalKind.TwoDecimal {value: 2}, Numeric = "840", ShortName = "United States dollar" }, but found Common.CurrencyCodeIso4217 { Code = "NZD", Kind = CurrencyDecimalKind.TwoDecimal {value: 2}, Numeric = "554", ShortName = "New Zealand Dollar" }.
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenAnyDomainEvent ► WhenNoCtor_ThenNoAlert: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L177
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-456_2024-06-30_08_25_38.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "2" Diagnostics: // /0/Test0.cs(16,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(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"), // /0/Test0.cs(18,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(18, 30, 18, 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.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule040 ► WhenIsNotPublic_ThenAlerts: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L177
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-456_2024-06-30_08_25_38.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "3" Diagnostics: // /0/Test0.cs(5,23): warning SAASDDD040: Class 'AClassed' should be 'public' VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD040).WithSpan(5, 23, 5, 31).WithArguments("AClassed"), // /0/Test0.cs(16,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(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"), // /0/Test0.cs(18,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(18, 30, 18, 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.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule041 ► WhenIsNotSealed_ThenAlerts: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L177
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-456_2024-06-30_08_25_38.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "3" Diagnostics: // /0/Test0.cs(5,14): warning SAASDDD041: Class 'AClassed' should be marked as 'sealed' VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD041).WithSpan(5, 14, 5, 22).WithArguments("AClassed"), // /0/Test0.cs(16,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(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"), // /0/Test0.cs(18,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(18, 30, 18, 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.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule042 ► WhenHasCtorAndIsParameterless_ThenNoAlert: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L177
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-456_2024-06-30_08_25_38.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "2" Diagnostics: // /0/Test0.cs(22,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(22, 28, 22, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"), // /0/Test0.cs(24,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(24, 30, 24, 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.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule042 ► WhenHasCtorAndNotParameterless_ThenAlerts: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L177
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-456_2024-06-30_08_25_38.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "3" Diagnostics: // /0/Test0.cs(5,21): warning SAASDDD042: Class 'AClassed' must have a public parameterless constructor, for serialization VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD042).WithSpan(5, 21, 5, 29).WithArguments("AClassed"), // /0/Test0.cs(22,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(22, 28, 22, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"), // /0/Test0.cs(24,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(24, 30, 24, 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.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule042 ► WhenHasCtorAndPrivate_ThenAlerts: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L177
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-456_2024-06-30_08_25_38.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "3" Diagnostics: // /0/Test0.cs(5,21): warning SAASDDD042: Class 'AClassed' must have a public parameterless constructor, for serialization VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD042).WithSpan(5, 21, 5, 29).WithArguments("AClassed"), // /0/Test0.cs(22,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(22, 28, 22, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"), // /0/Test0.cs(24,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(24, 30, 24, 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.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule043 ► WhenNamedInThePastTense_ThenNoAlert: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L177
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-456_2024-06-30_08_25_38.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "2" Diagnostics: // /0/Test0.cs(16,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(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"), // /0/Test0.cs(18,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(18, 30, 18, 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.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule043 ► WhenNotNamedInThePastTense_ThenAlerts: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L177
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-456_2024-06-30_08_25_38.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "3" Diagnostics: // /0/Test0.cs(5,21): warning SAASDDD043: Domain Event 'AClass' must be named in the past tense VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD043).WithSpan(5, 21, 5, 27).WithArguments("AClass"), // /0/Test0.cs(16,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(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"), // /0/Test0.cs(18,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(18, 30, 18, 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.
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/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/Infrastructure.Persistence.Shared.IntegrationTests/Azure/AzureServiceBusMessageBusStoreSpec.cs#L56
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#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/Application.Resources.Shared/Organization.cs#L35
Property 'EmailAddress' 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/Organization.cs#L37
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#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/Organization.cs#L39
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#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/Organization.cs#L41
Property 'IsOwner' 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
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