Skip to content

Commit

Permalink
feat: readd tests and bean for test
Browse files Browse the repository at this point in the history
  • Loading branch information
f-necas committed Dec 18, 2023
1 parent 0fdeaea commit a8e694c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/georchestra-gn4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ jobs:
- name: "Installing GeoNetwork"
run: mvn clean install -DskipTests

# - name: "run tests"
# run: mvn verify -Pit
- name: "run tests"
run: mvn verify -Pit

- name: "Building the docker image"
working-directory: web/
Expand Down
2 changes: 2 additions & 0 deletions core/src/test/resources/config-spring-geonetwork.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
<!-- DataManager need ThesaurusManager need SettingManager need a ServletContext-->
<bean id="servletContext" class="org.fao.geonet.GeonetMockServletContext"/>

<bean id="GeonetworkDataDirectory" class="org.fao.geonet.kernel.GeonetworkDataDirectory" lazy-init="true"/>

<bean id="language" class="org.fao.geonet.web.DefaultLanguage">
<property name="language" value="${language.default}"/>
<property name="forceDefault" value="${language.forceDefault}"/>
Expand Down

0 comments on commit a8e694c

Please sign in to comment.