summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-12-10 16:30:40 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-12-10 16:30:40 (GMT)
commitfa921c13ae7d2fb82ab5801244b6b1e9ef7db371 (patch)
tree9e0abeebd534f179fab16042cd8f5e867bbcb66d /test
parentce68e63d07aa6efa926601298a472818ae6a37a6 (diff)
added support for progress callbacks
Diffstat (limited to 'test')
-rw-r--r--test/simple1.json2
-rw-r--r--test/simple2.json2
-rw-r--r--test/simple3.json2
-rwxr-xr-xtest/test-simple.sh3
4 files changed, 5 insertions, 4 deletions
diff --git a/test/simple1.json b/test/simple1.json
index f952a70..6474061 100644
--- a/test/simple1.json
+++ b/test/simple1.json
@@ -2,7 +2,7 @@
"LOGIN_NAME": "heslinki",
"PASSWORD": "123456",
"GROUP_NAME": "test",
- "CART_NUMBER": 10000,
+ "CART_NUMBER": 100000,
"CUT_NUMBER": 1,
"CHANNELS": 2,
"NORMALIZATION_LEVEL": -1200,
diff --git a/test/simple2.json b/test/simple2.json
index 6f8735d..6a16ab6 100644
--- a/test/simple2.json
+++ b/test/simple2.json
@@ -2,7 +2,7 @@
"LOGIN_NAME": "heslinki",
"PASSWORD": "123456",
"GROUP_NAME": "test",
- "CART_NUMBER": 10000,
+ "CART_NUMBER": 100000,
"CUT_NUMBER": 1,
"CHANNELS": 2,
"NORMALIZATION_LEVEL": -1200,
diff --git a/test/simple3.json b/test/simple3.json
index 969b2b6..4cb4164 100644
--- a/test/simple3.json
+++ b/test/simple3.json
@@ -2,7 +2,7 @@
"LOGIN_NAME": "heslinki",
"PASSWORD": "123456",
"GROUP_NAME": "test",
- "CART_NUMBER": 10000,
+ "CART_NUMBER": 100000,
"CUT_NUMBER": 1,
"CHANNELS": 2,
"NORMALIZATION_LEVEL": -1200,
diff --git a/test/test-simple.sh b/test/test-simple.sh
index e797dd1..bc1ab60 100755
--- a/test/test-simple.sh
+++ b/test/test-simple.sh
@@ -5,6 +5,7 @@ if [ -z "$1" ]; then
exit 1
fi
-curl -XPOST 'http://localhost:4000/public/simple' -d @$1
+#curl -XPOST 'http://localhost:4000/public/simple' -d @$1
+curl -H "X-Forwarded-User: heslinki" -XPOST 'http://localhost:4000/trusted/simple' -d @$1
exit 0