Skip to content

Commit 24eccfe

Browse files
authored
Merge pull request #3 from codeweb/patch-1
Wrong namespace
2 parents bc7dc4d + 5811379 commit 24eccfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/docs/index.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ include::{testdir}/DatabaseRiderCoreTest.java[tags=declaration;sample]
124124
<1> EntityManagerProvider is a JUnit rule that initializes a JPA entity manager before each *test class*. `riderDB` is the name of persistence unit;
125125
<2> DBUnit rule reads *@DataSet* annotations and initializes database before each *test method*. This rule only needs a *JDBC* connection to be created.
126126
<3> The dataSet configuration itself, https://github.com/database-rider/database-rider/blob/master/core/src/main/java/com/github/database/riderapi/dataset/DataSet.java#L14[see here^] for all available configuration options. Note that you can provide a comma separated list of datasets names here.
127-
<4> *em()* is a shortcut (`import static com.github.database.rider.util.EntityManagerProvider.em;`) for the EntityManager that was initialized by EntityManagerProvider rule.
127+
<4> *em()* is a shortcut (`import static com.github.database.rider.core.util.EntityManagerProvider.em;`) for the EntityManager that was initialized by EntityManagerProvider rule.
128128

129129
TIP: There is a lot of https://github.com/database-rider/database-rider/tree/master/core/src/test/java/com/github/database/rider[example tests here^].
130130

@@ -690,4 +690,4 @@ public class LeakHunterIt {
690690
691691
}
692692
----
693-
<1> If number of connections after test execution are greater than before then a *LeakHunterException* will be raised.
693+
<1> If number of connections after test execution are greater than before then a *LeakHunterException* will be raised.

0 commit comments

Comments
 (0)