#18 fixing 2 errors related to ValidatorTests

- test didn't have the suffix "Tests" so it was not taken into account
when running Maven in the comand line
- the POM was not configured so it can find Spring config files placed
inside src/test/java
This commit is contained in:
Mic 2013-06-08 21:15:34 +08:00
parent eb8ba79ba1
commit 4f8063e9b8
3 changed files with 13 additions and 59 deletions

View file

@ -20,9 +20,9 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
* (useful when upgrading to a new version of Hibernate Validator/ Bean Validation)
*
*/
@ContextConfiguration(locations = {"ValidatorTest-config.xml"})
@ContextConfiguration(locations = {"ValidatorTests-config.xml"})
@RunWith(SpringJUnit4ClassRunner.class)
public class ValidatorTest {
public class ValidatorTests {
@Autowired
private Validator validator;