From: Alan T. DeKok Date: Fri, 17 Nov 2023 15:37:53 +0000 (-0500) Subject: go back until we can do more tests X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf9481ea3d7c0f0d10768c511bf0795a74593426;p=thirdparty%2Ffreeradius-server.git go back until we can do more tests --- diff --git a/src/tests/modules/rest/rest_xlat.unlang b/src/tests/modules/rest/rest_xlat.unlang index e0de9e81a61..cc05ebfb0f2 100644 --- a/src/tests/modules/rest/rest_xlat.unlang +++ b/src/tests/modules/rest/rest_xlat.unlang @@ -70,7 +70,7 @@ if (!(&control.Tmp-String-3[0] == 'Bob') || !(&control.Tmp-String-3[1] == 'dummy test_fail } -&control.Tmp-String-2 = %json.encode("&NAS-IP-Address") +&control.Tmp-String-2 = "%{json.encode:&NAS-IP-Address}" # POST to https with JSON body data &Tmp-String-2 := "%(rest:POST https://%{Tmp-String-0}:%{Tmp-Integer-1}/user/%{User-Name}/mac/%{Called-Station-Id}?section=accounting %{control.Tmp-String-2})"