Skip to content
Snippets Groups Projects

Resolve "Implement integration tests for applications"

Merged Fabian Seidl requested to merge 347-implement-integration-tests-for-applications into master
All threads resolved!
1 file
+ 6
2
Compare changes
  • Side-by-side
  • Inline
@@ -96,8 +96,12 @@ func TestMain(m *testing.M) {
// Important note: only works once after starting the setup, because first time use creates
// a user and updates it because of the login. After then only logins are done, no user creations.
// This means that this will block after trying once, because the two attempts to read from eventChannel.
// _ = <-application.eventChannel
// _ = <-application.eventChannel
if os.Getenv("RABBITMQ") != "" {
_ = <-application.eventChannel
} else {
_ = <-application.eventChannel
_ = <-application.eventChannel
}
m.Run()
}
Loading