-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Won't Fix
-
Affects Version/s: 5.7.3
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Audit
As seen with Damien Metzler and Laurent Doguin, when using the following code the Junit test cannot be launched.
package com.nuxeo.itcs.catod.operations; import static org.junit.Assert.assertNotNull; import org.junit.Test; import org.junit.runner.RunWith; import org.nuxeo.ecm.core.api.CoreSession; import org.nuxeo.ecm.platform.audit.AuditFeature; import org.nuxeo.runtime.test.runner.Features; import org.nuxeo.runtime.test.runner.FeaturesRunner; import com.google.inject.Inject; @RunWith(FeaturesRunner.class) @Features({ AuditFeature.class }) public class SimpleTest { @Inject CoreSession session; @Test public void testName() throws Exception { assertNotNull(session); } }