Remove entity manager references from services and convert their tests to unit tests

Description

We are currently doing integration testing on services. Convert these to unit tests.

In order to achieve this, we should move the persistence context reference to repositories, using the custom repository pattern: http://docs.spring.io/spring-data/jpa/docs/current/reference/html/#repositories.single-repository-behaviour

We should also make sure, that usage of the entity manager is justified and cannot be replaced by generated queries.

Environment

None
100% Done
Loading...

QAlity Plus - Test Management

Checklists

Activity

Show:

Paulina Borowa 
September 5, 2016 at 9:11 AM

All works.

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Time tracking

3w 1d 6h logged

Sprint

Fix versions

Affects versions

Priority

Time Assistant

Created August 5, 2016 at 1:19 PM
Updated September 6, 2016 at 6:15 AM
Resolved September 5, 2016 at 9:11 AM