Status: Accepted
Owner: dominik.dorn
Labels: Type-Defect Priority-Medium
New issue 2 by dominik.dorn: com.ocpsoft.spm.ws.rest.user.UserServiceTest
fails
http://code.google.com/p/ocpsoft-tools/issues/detail?id=2
What steps will reproduce the problem?
1. mvn clean compile install in trunk/socialpm
What is the expected output?
The tests should run without failures.
What do you see instead?
The spring application context tries to access
%userdir%/.socialpm/db.properties
but fails, as it is not there.
A test should never access files/directories outside target/test-classes
We should provide a db.properties file for the tests. Tests should never
run against the productive database that is specified in
%userdir%/.socialpm/db.properties
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings