From 52173903e17625c44c108b4ca2e7bc22f3b76465 Mon Sep 17 00:00:00 2001 From: gpcf Date: Sun, 28 Jul 2024 11:58:39 +0200 Subject: Add unit tests --- spec/fixtures/xban.db | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 spec/fixtures/xban.db (limited to 'spec/fixtures/xban.db') diff --git a/spec/fixtures/xban.db b/spec/fixtures/xban.db new file mode 100644 index 0000000..d4d43e5 --- /dev/null +++ b/spec/fixtures/xban.db @@ -0,0 +1,19 @@ +{ + "entries" : + [ + { + "banned" : false, + "last_seen" : 1722115454.0, + "names" : + { + "127.0.0.1" : 1722115454.0, + "admin" : true, + "foobar" : true, + "survivalg" : true + }, + "record" : null + } + ], + "nextclean" : 1722115717.0, + "timestamp" : 1722115470.0 +} -- cgit v1.2.3