From 2abb1f171579d7c7b4eadbe3bfde72499174427f Mon Sep 17 00:00:00 2001
From: codl <codl@codl.fr>
Date: Thu, 30 Nov 2017 02:05:09 +0100
Subject: disable follow request emails on test user

---
 tests/setup.sql | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

(limited to 'tests/setup.sql')

diff --git a/tests/setup.sql b/tests/setup.sql
index d65e503..0ff6da0 100644
--- a/tests/setup.sql
+++ b/tests/setup.sql
@@ -1,3 +1,4 @@
+DELETE FROM settings WHERE id = 1234567890123456;
 DELETE FROM oauth_access_tokens WHERE id = 6543210987654321;
 DELETE FROM oauth_access_tokens WHERE id = 1234567890123456;
 DELETE FROM oauth_applications WHERE id = 1234567890123456;
@@ -84,3 +85,21 @@ INSERT INTO oauth_access_tokens (
     1,
     now()
 );
+
+INSERT INTO settings (
+    id,
+    var,
+    value,
+    thing_type,
+    thing_id,
+    created_at,
+    updated_at
+) VALUES (
+    1234567890123456,
+    'notification_emails',
+    E'---\nfollow_request: false',
+    'User',
+    1234567890123456,
+    now(),
+    now()
+)
-- 
cgit v1.2.3

