Fixed broken integration test.

This commit is contained in:
Oliver Gierke
2012-01-12 11:19:43 +01:00
parent 1a0077231d
commit d684fa1f8e

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>() {