diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/simple1.json | 2 | ||||
-rw-r--r-- | test/simple2.json | 2 | ||||
-rw-r--r-- | test/simple3.json | 2 | ||||
-rwxr-xr-x | test/test-simple.sh | 3 |
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 |