X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fmrstub%2Fbasic_test.sh;h=6e854ead36b533ae1d65eb8734d5d8ca8810cc11;hb=8fbc63697f2edaaf2c9db40f54b318e7211361e2;hp=582c36f3a7d49bd8be4e673fcedb682e1edeb935;hpb=6f48adb69090799c74c29204dd2cd1737cc9d6ac;p=nonrtric.git diff --git a/test/mrstub/basic_test.sh b/test/mrstub/basic_test.sh index 582c36f3..6e854ead 100755 --- a/test/mrstub/basic_test.sh +++ b/test/mrstub/basic_test.sh @@ -44,6 +44,8 @@ fi # source function to do curl and check result . ../common/do_curl_function.sh +RESP_CONTENT='*' #Dont check resp content type + echo "=== Stub hello world ===" RESULT="OK" do_curl GET / 200 @@ -172,7 +174,7 @@ RESULT="{}" do_curl POST /events/generic-path 200 .tmp.json echo "=== Fetch a request ===" -RESULT="json:[{\"correlationId\": \""$CORRID"\", \"message\": {\"test\":\"testresponse\"}, \"status\": \"200\"}]" +RESULT="json:[\"{\\\"correlationId\\\": \\\""$CORRID"\\\", \\\"message\\\": {\\\"test\\\": \\\"testresponse\\\"}, \\\"status\\\": \\\"200\\\"}\"]" do_curl GET '/events/generic-path' 200 echo "********************"