summaryrefslogtreecommitdiffstats
path: root/tests/data.sql
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data.sql')
-rw-r--r--tests/data.sql9
1 files changed, 9 insertions, 0 deletions
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');
+