Skip to content

Commit

Permalink
Fixes problem with TestApplicationAndContainerManagedInjections (#9318)
Browse files Browse the repository at this point in the history
Signed-off-by: Laird Nelson <[email protected]>
  • Loading branch information
ljnelson authored Oct 3, 2024
1 parent 80bb62e commit f28b450
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
import jakarta.persistence.EntityManagerFactory;
import jakarta.persistence.PersistenceContext;

import io.helidon.microprofile.config.ConfigCdiExtension;

import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
Expand Down Expand Up @@ -64,7 +66,8 @@ final void initializeCdiContainer() {
}
SeContainerInitializer i = SeContainerInitializer.newInstance()
.disableDiscovery()
.addExtensions(PersistenceExtension.class,
.addExtensions(ConfigCdiExtension.class,
PersistenceExtension.class,
com.arjuna.ats.jta.cdi.TransactionExtension.class,
io.helidon.integrations.datasource.hikaricp.cdi.HikariCPBackedDataSourceExtension.class)
.addBeanClasses(Frobnicator.class);
Expand Down

0 comments on commit f28b450

Please sign in to comment.