Skip to content

Commit

Permalink
doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmosmann committed Nov 5, 2023
1 parent e5cedde commit 70a9c79
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion HowTo.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,12 @@ public class CustomizeMongodTest {

## Config Prefix

Use 'de.flapdoodle.mongodb.embedded' as prefix in your config files.
Use 'de.flapdoodle.mongodb.embedded' as prefix in your config files.

## Test with a real database

If you want to test with an 'unmanaged' mongodb database, you must disable the auto configuration by excluding EmbeddedMongoAutoConfiguration:

```java
@EnableAutoConfiguration(exclude = {EmbeddedMongoAutoConfiguration.class})
```
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,12 @@ ${customizeMongod}

## Config Prefix

Use '${noop.prefix}' as prefix in your config files.
Use '${noop.prefix}' as prefix in your config files.

## Test with a real database

If you want to test with an 'unmanaged' mongodb database, you must disable the auto configuration by excluding EmbeddedMongoAutoConfiguration:

```java
@EnableAutoConfiguration(exclude = {EmbeddedMongoAutoConfiguration.class})
```

0 comments on commit 70a9c79

Please sign in to comment.