Skip to content

Commit

Permalink
Add store beans for intengration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
josegar74 committed Sep 21, 2023
1 parent b0b7b10 commit d3b91d3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions core/src/test/resources/core-repository-test-context.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,14 @@

<bean id="servletContext" class="org.fao.geonet.GeonetMockServletContext"/>
<bean id="threadPool" class="org.fao.geonet.TestThreadPool"/>

<bean id="filesystemStore"
class="org.fao.geonet.api.records.attachments.FilesystemStore"/>

<bean id="resourceStore"
class="org.fao.geonet.api.records.attachments.ResourceLoggerStore">
<constructor-arg index="0" ref="filesystemStore"/>
</bean>

<bean id="resources" class="org.fao.geonet.resources.FileResources"/>
</beans>

0 comments on commit d3b91d3

Please sign in to comment.