Skip to content

Commit 8998467

Browse files
committed
polish test names
1 parent 06da623 commit 8998467

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/com/antkorwin/springtestmongo/junit5/MongoDbExtensionIT.java src/test/java/com/antkorwin/springtestmongo/junit5/MongoDbExtensionImportIT.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@
2222
@ExtendWith(SpringExtension.class)
2323
@ExtendWith(MongoDbExtension.class)
2424
@EnableMongoDbTestContainers
25-
class MongoDbExtensionIT {
25+
class MongoDbExtensionImportIT {
2626

2727
@Autowired
2828
private MongoTemplate mongoTemplate;
2929

3030
/**
31-
* Testing populate mongo database from dataset defined in MongoDataSet annotation
31+
* Testing import to the current mongo database from a dataset defined in the MongoDataSet annotation
3232
*/
3333
@Test
3434
@MongoDataSet(value = "/dataset/multidocument_dataset.json", cleanBefore = true, cleanAfter = true)
35-
void testPopulatingByMongoDataSet() throws Exception {
35+
void testImportByMongoDataSetAnnotation() throws Exception {
3636
// Act
3737
Foo fooDoc = mongoTemplate.findById("77f3ed00b1375a48e618300a", Foo.class);
3838
Bar simpleDoc = mongoTemplate.findById("55f3ed00b1375a48e618300b", Bar.class);

0 commit comments

Comments
 (0)