]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Correct module config for rest module test
authorNick Porter <nick@portercomputing.co.uk>
Mon, 30 Jan 2023 13:52:15 +0000 (13:52 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Tue, 31 Jan 2023 13:19:08 +0000 (13:19 +0000)
src/tests/modules/rest/module.conf

index 9f38334c283f364bdff76ff4050f1f27d245ef83..b3d3580e3221aa5e8282c357a5c33a300032d257 100644 (file)
@@ -41,7 +41,7 @@ rest {
        }
 
        accounting {
-               uri = "https://$ENV{REST_TEST_SERVER}:$ENV{REST_TEST_SERVER_SSL_PORT}/user/%{User-Name}/mac/%{Called-Station-ID}?action=post-auth"
+               uri = "https://$ENV{REST_TEST_SERVER}:$ENV{REST_TEST_SERVER_SSL_PORT}/user/%{User-Name}/mac/%{Called-Station-ID}?action=post-auth&section=accounting"
                method = 'POST'
                body = 'json'
                data = '{"NAS": "%{NAS-IP-Address}", "Password": "%{User-Password}", "Verify": true}'