summaryrefslogtreecommitdiffstats
path: root/src/tests/modules/json/encode.attrs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/modules/json/encode.attrs')
-rw-r--r--src/tests/modules/json/encode.attrs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/tests/modules/json/encode.attrs b/src/tests/modules/json/encode.attrs
new file mode 100644
index 0000000..ea8d653
--- /dev/null
+++ b/src/tests/modules/json/encode.attrs
@@ -0,0 +1,13 @@
+#
+# Input packet
+#
+User-Name = 'john'
+Filter-Id = "f1"
+Filter-Id += "f2"
+NAS-Port = 999
+Service-Type = Login-User
+
+#
+# Expected answer
+#
+Response-Packet-Type == Access-Accept