testcontainers / testcontainers-go

Testcontainers for Go is a Go package that makes it simple to create and clean up container-based dependencies for automated integration/smoke tests. The clean, easy-to-use API enables developers to programmatically define containers that should be run as part of a test and clean up those resources when the test is done.
https://golang.testcontainers.org
MIT License
3.67k stars 504 forks source link

chore(rabbitmq): refactor assertEntity in tests #2856

Closed mmorel-35 closed 3 weeks ago

mmorel-35 commented 3 weeks ago

What does this PR do?

Refactors assertions on entities in rabbitmq_test.go

This applies the assertions in each function and mutualizes duplicated code

Related issues

Related to https://github.com/testcontainers/testcontainers-go/pull/2855#discussion_r1820404094

netlify[bot] commented 3 weeks ago

Deploy Preview for testcontainers-go ready!

Name Link
Latest commit e07422af1122cfb805c1a757d082b73467433ba9
Latest deploy log https://app.netlify.com/sites/testcontainers-go/deploys/6721dc7cc5a1700008eb2ff7
Deploy Preview https://deploy-preview-2856--testcontainers-go.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.