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
1 file
+ 5
3
Compare changes
  • Side-by-side
  • Inline
@@ -97,9 +97,11 @@ func TestMain(m *testing.M) {
@@ -97,9 +97,11 @@ func TestMain(m *testing.M) {
// a user and updates it because of the login. After then only logins are done, no user creations.
// 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.
// This means that this will block after trying once, because the two attempts to read from eventChannel.
_ = <-application.addEventChannel
if os.Getenv("RABBITMQ") == "" {
_ = <-application.addEventChannel
_ = <-application.addEventChannel
_ = <-application.updateEventChannel
_ = <-application.addEventChannel
 
_ = <-application.updateEventChannel
 
}
m.Run()
m.Run()
}
}
Loading