844: Fix integration tests

 Test Case #:844

Test Case Name:Fix integration tests

System: OpenLMIS

Subsystem:requisition

Test case designed by: Paulina Borowa

Design Date:17.07.2016

Short description

There is small issue with integration test. Depends of tests order execution we face some errors (org.springframework.dao.DataIntegrityViolationException) connected with database. Very likely this issue is caused by some garbage data from previous tests which is not removed from database. In order to fix this issue, please ensure that after every integration test database is cleaned properly.

      

Pre – conditions:

                                                                                                                                                                                                                                                       


Step 

Action

Expected system response

Comment

1

Launch gradle Clean command.

 Build successful status is returned.                                                  

2

Launch gradle build command.

Build successful status is returned.

 

3

Launch gradle integrationTest command.

Build successful status is returned.

 

OpenLMIS: the global initiative for powerful LMIS software