Questions tagged [quarkus-testing]
1 questions
1
vote
0 answers
Quarkus Reactive testing with database operation leading to java.lang.IllegalStateException: No current Vertx context found
I'm trying to test a part of my code that does a database transaction.
@QuarkusTest
class FileServiceTest {
@InjectSpy
MyService myService;
@Test
void testDatabaseOperation() {
myService.doSomeDatabaseOperation()
…

Marian Klühspies
- 15,824
- 16
- 93
- 136