Skip to content

Bump Testcontainers.RabbitMq from 4.0.0 to 4.1.0 in /src/backend #742

Bump Testcontainers.RabbitMq from 4.0.0 to 4.1.0 in /src/backend

Bump Testcontainers.RabbitMq from 4.0.0 to 4.1.0 in /src/backend #742

GitHub Actions / WebApi Tests succeeded Dec 10, 2024 in 1s

43 passed, 0 failed and 0 skipped

Tests passed successfully

✅ tests/backend/WebApi.Tests/TestResults/test-results.trx

43 tests were completed in 34s with 43 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
WebApi.Tests.Attributes.DefineConstantsAttributeTests 2✅ 14ms
WebApi.Tests.Controllers.BloggingControllerTests 10✅ 185ms
WebApi.Tests.Controllers.SendMessageControllerTests 1✅ 5ms
WebApi.Tests.Controllers.ServiceControllerTests 3✅ 13ms
WebApi.Tests.Controllers.WeatherForecastControllerTests 4✅ 12ms
WebApi.Tests.Database.BloggingContextTests 7✅ 1s
WebApi.Tests.Entities.BlogDtoTests 4✅ 2ms
WebApi.Tests.Entities.PostDtoTests 5✅ 1ms
WebApi.Tests.Entities.VersionInformationTests 4✅ 3ms
WebApi.Tests.Messaging.RabbitMqTests 2✅ 1s
WebApi.Tests.ProgramTests 1✅ 318ms

✅ WebApi.Tests.Attributes.DefineConstantsAttributeTests

✅ AttributeInstantiation_WithConstantsString_IsNotNull
✅ ConstantsProperty_WithValidConstantsString_ParsesCorrectly

✅ WebApi.Tests.Controllers.BloggingControllerTests

✅ GetBlog_InvalidId_ReturnsNotFound
✅ GetBlog_ValidId_ReturnsBlog
✅ GetBlogs_ReturnsListOfBlogs
✅ GetPost_InvalidId_ReturnsNotFound
✅ GetPost_ValidId_ReturnsPost
✅ GetPosts_ReturnsListOfPosts
✅ PostBlog_InvalidId_ReturnsNotFound
✅ PostBlog_NoId_StoresBlog
✅ PostPost_InvalidId_ReturnsNotFound
✅ PostPost_NoId_StoresPost

✅ WebApi.Tests.Controllers.SendMessageControllerTests

✅ Get_ReturnsOkResult

✅ WebApi.Tests.Controllers.ServiceControllerTests

✅ Ping_ReturnsOkResult
✅ Version_ReturnsOkResult
✅ Version_ReturnsVersionWithCorrectProperties

✅ WebApi.Tests.Controllers.WeatherForecastControllerTests

✅ Get_LogsInformationMessage
✅ Get_ReturnsFiveWeatherForecasts
✅ Get_ReturnsOkResult
✅ Get_ReturnsWeatherForecastsWithCorrectProperties

✅ WebApi.Tests.Database.BloggingContextTests

✅ BloggingContextMigrate_CreatesTablesAndCanStoreData
✅ BloggingRepository_CanAddBlog
✅ BloggingRepository_CanAddPost
✅ BloggingRepository_CanUpdateBlogs
✅ BloggingRepository_CanUpdatePosts
✅ BloggingRepository_ReturnsSeededBlogsAndPosts
✅ ConnectionState_ReturnsOpen

✅ WebApi.Tests.Entities.BlogDtoTests

✅ Validate_WhenTitleIsEmpty_ReturnsValidationError
✅ Validate_WhenTitleIsTooLong_ReturnsValidationError
✅ Validate_WhenUrlIsEmpty_ReturnsValidationError
✅ Validate_WhenUrlIsTooLong_ReturnsValidationError

✅ WebApi.Tests.Entities.PostDtoTests

✅ Validate_WhenBlogIdIsZero_ReturnsValidationError
✅ Validate_WhenContentIsEmpty_ReturnsValidationError
✅ Validate_WhenContentIsTooLong_ReturnsValidationError
✅ Validate_WhenTitleIsEmpty_ReturnsValidationError
✅ Validate_WhenTitleIsTooLong_ReturnsValidationError

✅ WebApi.Tests.Entities.VersionInformationTests

✅ ConstantsProperty_ExtractsConstantsCorrectly
✅ EnvironmentNameProperty_FallbacksToUnknownWhenNoEnvironmentVariablesSet
✅ InformationalVersionProperty_ExtractsInformationalVersionCorrectly
✅ VersionProperty_ExtractsVersionCorrectly

✅ WebApi.Tests.Messaging.RabbitMqTests

✅ IsOpen_ReturnsTrue
✅ MessageSender_SendsMessage

✅ WebApi.Tests.ProgramTests

✅ GetSwaggerIndex_ReturnsOkResult