Skip to content

Commit

Permalink
Merge pull request #2547 from bechhansen/QuarkusTest
Browse files Browse the repository at this point in the history
Must be a QuarkusTest to use inject
  • Loading branch information
ozangunalp committed Mar 27, 2024
2 parents 624d7bb + 347fbf6 commit abf55f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions documentation/src/main/java/testing/MyTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import io.smallrye.reactive.messaging.memory.InMemorySink;
import io.smallrye.reactive.messaging.memory.InMemorySource;

// @io.quarkus.test.junit.QuarkusTest or the Junit 5 extension that allows injection in tests
public class MyTest {

// 1. Switch the channels to the in-memory connector:
Expand Down

0 comments on commit abf55f4

Please sign in to comment.