This is an automated email from the ASF dual-hosted git repository.
bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git
The following commit(s) were added to refs/heads/master by this push:
new 6b10437 Log base URL
6b10437 is described below
commit 6b1043754e65d820fb4cdaa63f2eef98238160d9
Author: Bertrand Delacretaz <[email protected]>
AuthorDate: Tue Sep 4 17:07:44 2018 +0200
Log base URL
---
karate-http-testing/src/test/java/karate-config.js | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/karate-http-testing/src/test/java/karate-config.js
b/karate-http-testing/src/test/java/karate-config.js
index e1b5b8a..e8c87e4 100644
--- a/karate-http-testing/src/test/java/karate-config.js
+++ b/karate-http-testing/src/test/java/karate-config.js
@@ -1,6 +1,6 @@
function() {
var env = karate.env; // get system property 'karate.env'
- karate.log('karate.env system property was:', env);
+ // karate.log('karate.env system property is', env);
if (!env) {
env = 'dev';
}
@@ -8,11 +8,6 @@ function() {
env: env,
baseURL: 'http://localhost:8080'
}
- if (env == 'dev') {
- // customize
- // e.g. config.foo = 'bar';
- } else if (env == 'e2e') {
- // customize
- }
+ karate.log('Expecting a Sling instance at base URL', config.baseURL);
return config;
}
\ No newline at end of file