You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/unit-test-project/README.md
+18-14Lines changed: 18 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,19 +69,23 @@ Starting in release 3.8.1, you can configure which REST API server mlUnitTest wi
69
69
exposes a property of type [DatabaseClientConfig](https://github.com/marklogic-community/ml-javaclient-util/blob/master/src/main/java/com/marklogic/client/ext/DatabaseClientConfig.java).
70
70
You can configure the properties of this object, and mlUnitTest will use it for creating a connection to MarkLogic.
71
71
72
-
Below is an example - note that you need to configure every property necessary for the type of connection you want, as
72
+
Below is an example of configuring the mlUnitTest task in build.gradle - note that you need to configure every property necessary for the type of connection you want, as
73
73
none of the properties of the DatabaseClientConfig have any default value:
74
74
75
-
mlUnitTest.databaseClientConfig.host = mlHost
76
-
mlUnitTest.databaseClientConfig.port = 8880 // probably a port that differs from mlRestPort and mlTestRestPort
0 commit comments