Просмотр исходного кода

Added locationRepository bean to test context.

jorgen_falk 18 лет назад
Родитель
Сommit
8f09ec3850
1 измененных файлов: 5 добавлений и 0 удалений
  1. 5
    0
      dddsample/src/test/resources/mock-context-persistence.xml

+ 5
- 0
dddsample/src/test/resources/mock-context-persistence.xml Просмотреть файл

@@ -20,4 +20,9 @@
20 20
     <constructor-arg value="se.citerus.dddsample.repository.CarrierMovementRepository"/>
21 21
   </bean>
22 22
 
23
+
24
+
25
+  <bean id="locationRepository" class="se.citerus.dddsample.repository.LocationRepositoryHibernate">
26
+    <property name="sessionFactory" ref="sessionFactory"/>
27
+  </bean>
23 28
 </beans>