Unit Test : Error SchemaManagerImpl

I get this error when I run my test method ERROR [SchemaManagerImpl] Document type: Ressource_Image uses unknown schema: picture My test class is like :

@RunWith(FeaturesRunner.class)@Features({AutomationFeature.class, CoreFeature.class, TransientStoreFeature.class})@RepositoryConfig(init = DefaultRepositoryInit.class, cleanup = Granularity.METHOD)@Deploy("com.immanens.nuxeo.mn20.addons.mn20-import-core")@PartialDeploy(bundle = "studio.extensions.mm2020-mm2020", extensions = {TargetExtensions.ContentModel.class, TargetExtensions.Automation.class, TargetExtensions.ContentTemplate.class})@Deploy("org.nuxeo.ecm.core.schema")

…….

FILES:   pom.xml
1 votes

0 answers

598 views

ANSWER