Fixed failing test case.

Include dependency to Person repository to make sure instance creation is triggered.
This commit is contained in:
Oliver Gierke
2012-01-11 20:03:34 +01:00
parent 4a6fa5cade
commit 817e167056

View File

@@ -15,8 +15,8 @@
*/
package org.springframework.data.mongodb.repository;
import static org.junit.Assert.*;
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.List;
@@ -47,6 +47,9 @@ public class RepositoryIndexCreationIntegrationTests {
@Autowired
MongoOperations operations;
@Autowired
PersonRepository repository;
@After
public void tearDown() {
operations.execute(Person.class, new CollectionCallback<Void>() {