Skip to content

feat(reactions): omit zero-value reaction counters

86a8627
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Add comment subject ID and omit zero-value reaction counters #38

feat(reactions): omit zero-value reaction counters
86a8627
Select commit
Loading
Failed to load commit list.
GitHub Actions / .NET test results succeeded Jun 12, 2025 in 0s

25 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
tests/CrowdParlay.Social.IntegrationTests/TestResults/_fv-az1691-763_2025-06-12_10_16_20.trx 21✅ 31s
tests/CrowdParlay.Social.UnitTests/TestResults/_fv-az1691-763_2025-06-12_10_15_51.trx 4✅ 1s

✅ tests/CrowdParlay.Social.IntegrationTests/TestResults/_fv-az1691-763_2025-06-12_10_16_20.trx

21 tests were completed in 31s with 21 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CrowdParlay.Social.IntegrationTests.Tests.AuthenticationTests 2✅ 2s
CrowdParlay.Social.IntegrationTests.Tests.CommentsTests 6✅ 3s
CrowdParlay.Social.IntegrationTests.Tests.DiscussionsTests 6✅ 2s
CrowdParlay.Social.IntegrationTests.Tests.HttpContractsTests 3✅ 1s
CrowdParlay.Social.IntegrationTests.Tests.ReactionsTests 2✅ 2s
CrowdParlay.Social.IntegrationTests.Tests.SignalRTests 1✅ 2s
CrowdParlay.Social.IntegrationTests.Tests.UsersTests 1✅ 354ms

✅ CrowdParlay.Social.IntegrationTests.Tests.AuthenticationTests

✅ Create a discussion providing access JWT as Bearer token
✅ Search discussions returns discussions with viewer reactions

✅ CrowdParlay.Social.IntegrationTests.Tests.CommentsTests

✅ Create comment
✅ Create comment with unknown discussion
✅ Get comment with unknown ID
✅ Get replies to comment
✅ Get replies(flatten: False)
✅ Get replies(flatten: True)

✅ CrowdParlay.Social.IntegrationTests.Tests.DiscussionsTests

✅ Create discussions in parallel(degreeOfParallelism: 1)
✅ Create discussions in parallel(degreeOfParallelism: 100)
✅ Create discussions in parallel(degreeOfParallelism: 2)
✅ Get discussion with reactions
✅ Get discussions by author
✅ Get discussions by author of no discussions

✅ CrowdParlay.Social.IntegrationTests.Tests.HttpContractsTests

✅ Preflight request to SignalR returns specific CORS allowed origins
✅ Resource not found error is returned as RFC 7807 problem details
✅ Responses are JSON-serialized in snake case

✅ CrowdParlay.Social.IntegrationTests.Tests.ReactionsTests

✅ Set reactions
✅ Setting reactions overwrites existing reactions

✅ CrowdParlay.Social.IntegrationTests.Tests.SignalRTests

✅ Listen to new comments in discussion

✅ CrowdParlay.Social.IntegrationTests.Tests.UsersTests

✅ Get user by ID returns cached user

✅ tests/CrowdParlay.Social.UnitTests/TestResults/_fv-az1691-763_2025-06-12_10_15_51.trx

4 tests were completed in 1s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CrowdParlay.Social.UnitTests.UsersServiceCachingDecoratorTests 4✅ 139ms

✅ CrowdParlay.Social.UnitTests.UsersServiceCachingDecoratorTests

✅ Get user by ID returns cached result if possible(userPresentInCache: False)
✅ Get user by ID returns cached result if possible(userPresentInCache: True)
✅ Get users by IDs returns cached results if possible(usersPresentInCache: False)
✅ Get users by IDs returns cached results if possible(usersPresentInCache: True)