Skip to content

Commit 19db58c

Browse files
committed
[PAXCDI-188] adapted test
1 parent 45f4e3b commit 19db58c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

itest/src/it/itest-standalone/src/test/java/org/ops4j/pax/cdi/test/SingleBundleTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import static org.hamcrest.CoreMatchers.notNullValue;
2222
import static org.hamcrest.CoreMatchers.nullValue;
2323
import static org.junit.Assert.assertNotNull;
24-
import static org.junit.Assert.assertSame;
2524
import static org.junit.Assert.assertThat;
2625
import static org.ops4j.pax.cdi.test.support.TestConfiguration.cdiProviderBundles;
2726
import static org.ops4j.pax.cdi.test.support.TestConfiguration.paxCdiProviderAdapter;
@@ -108,7 +107,7 @@ public void checkContainerInstance() {
108107
public void checkBeanManager() {
109108
assertNotNull(container.getBeanManager());
110109
assertNotNull(beanManager);
111-
assertSame(beanManager, container.getBeanManager());
110+
assertThat(beanManager, is(container.getBeanManager()));
112111
}
113112

114113
@Test

0 commit comments

Comments
 (0)