aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcodl <[email protected]>2017-11-30 02:05:09 +0100
committercodl <[email protected]>2017-11-30 02:05:09 +0100
commit2abb1f171579d7c7b4eadbe3bfde72499174427f (patch)
treec35223df2fb7c8efd7447278790c0cf495b9dfb0 /tests/setup.sql
parent9227528a1504ec79cf5af8e4aa15c702215abb3c (diff)
downloadmastodon.py-2abb1f171579d7c7b4eadbe3bfde72499174427f.tar.gz
disable follow request emails on test user
Diffstat (limited to 'tests/setup.sql')
-rw-r--r--tests/setup.sql19
1 files changed, 19 insertions, 0 deletions
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 @@
1DELETE FROM settings WHERE id = 1234567890123456;
1DELETE FROM oauth_access_tokens WHERE id = 6543210987654321; 2DELETE FROM oauth_access_tokens WHERE id = 6543210987654321;
2DELETE FROM oauth_access_tokens WHERE id = 1234567890123456; 3DELETE FROM oauth_access_tokens WHERE id = 1234567890123456;
3DELETE FROM oauth_applications WHERE id = 1234567890123456; 4DELETE FROM oauth_applications WHERE id = 1234567890123456;
@@ -84,3 +85,21 @@ INSERT INTO oauth_access_tokens (
84 1, 85 1,
85 now() 86 now()
86); 87);
88
89INSERT INTO settings (
90 id,
91 var,
92 value,
93 thing_type,
94 thing_id,
95 created_at,
96 updated_at
97) VALUES (
98 1234567890123456,
99 'notification_emails',
100 E'---\nfollow_request: false',
101 'User',
102 1234567890123456,
103 now(),
104 now()
105)
Powered by cgit v1.2.3 (git 2.41.0)