From 9baa55436bc5a98d118a17656bbf25e563522964 Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Sun, 29 Oct 2023 06:59:37 -0500 Subject: Add unit tests --- tests/data.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/data.sql (limited to 'tests/data.sql') diff --git a/tests/data.sql b/tests/data.sql new file mode 100644 index 0000000..46269e4 --- /dev/null +++ b/tests/data.sql @@ -0,0 +1,9 @@ +INSERT INTO user (username, password) +VALUES + ('test', 'pbkdf2:sha256:50000$TCI4GzcX$0de171a4f4dac32e3364c7ddc7c14f3e2fa61f2d17574483f7ffbb431b4acb2f'), + ('other', 'pbkdf2:sha256:50000$kJPKsz6N$d2d4784f1b030a9761f5ccaeeaca413f27f2ecb76d6168407af962ddce849f79'); + +INSERT INTO post (title, body, author_id, created) +VALUES + ('test title', 'test' || x'0a' || 'body', 1, '2018-01-01 00:00:00'); + -- cgit v1.2.3