Minor bug fix 16/7616/1
authorBjornMagnussonXA <bjorn.magnusson@est.tech>
Tue, 25 Jan 2022 11:46:49 +0000 (12:46 +0100)
committerBjornMagnussonXA <bjorn.magnusson@est.tech>
Tue, 25 Jan 2022 11:47:05 +0000 (12:47 +0100)
Fix missing prefix for endpoint test reqistration

Issue-ID: NONRTRIC-690

Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Change-Id: Ie36fbdb3204f0104016335f5406290c433fc220a

test/common/pa_api_functions.sh

index a5a51c0..9076bab 100644 (file)
@@ -1752,7 +1752,7 @@ api_get_policy_status() {
                        return 1
                fi
        fi
-       __collect_endpoint_stats "PMS" 08 "GET" $PMS_API_PREFIX"/policies/{policy_id}/status" $status
+       __collect_endpoint_stats "PMS" 08 "GET" $PMS_API_PREFIX"/v2/policies/{policy_id}/status" $status
        __log_test_pass
        return 0
 }