diff --git a/mongodb-hello/src/test/java/org/springframework/data/mongodb/examples/hello/SimpleMongoTest.java b/mongodb-hello/src/test/java/org/springframework/data/mongodb/examples/hello/SimpleMongoTest.java index 9a95e2e..89ff754 100644 --- a/mongodb-hello/src/test/java/org/springframework/data/mongodb/examples/hello/SimpleMongoTest.java +++ b/mongodb-hello/src/test/java/org/springframework/data/mongodb/examples/hello/SimpleMongoTest.java @@ -99,7 +99,7 @@ public void queryingForDocuments() { p4.addAccount(new Account("719-100-0019", Account.Type.SAVINGS, 1209.10d)); mongoTemplate.insert(p4); - assertEquals(4, mongoTemplate.getCollection("HelloMongo").count()); + assertEquals(4, mongoTemplate.getCollection("MyCollection").count()); List result = mongoTemplate.find( new Query(where("age").lt(50)).and(where("accounts.balance").gt(1000.00d)), @@ -126,7 +126,7 @@ public void updatingDocuments() { p4.addAccount(new Account("719-100-0019", Account.Type.SAVINGS, 1209.10d)); mongoTemplate.insert(p4); - assertEquals(4, mongoTemplate.getCollection("HelloMongo").count()); + assertEquals(4, mongoTemplate.getCollection("MyCollection").count()); WriteResult wr = mongoTemplate.updateMulti( new Query(where("accounts.accountType").not().is(Account.Type.SAVINGS)), diff --git a/mongodb-music/pom.xml b/mongodb-music/pom.xml index 217b7de..4be47bf 100644 --- a/mongodb-music/pom.xml +++ b/mongodb-music/pom.xml @@ -6,7 +6,7 @@ spring-data-mongodb-examples-music 0.0.1-SNAPSHOT - spring-data-mongodb-examples-hello + spring-data-mongodb-examples-music http://maven.apache.org @@ -27,6 +27,12 @@ Spring Maven Milestone Repository http://maven.springframework.org/milestone + + spring-maven-snapshot + Springframework Maven SNAPSHOT Repository + true + http://maven.springframework.org/snapshot + querydsl Mysema QueryDsl