Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
fix dummy data
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Aug 22, 2024
1 parent 2413743 commit 9ead597
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/files/dummy_data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
-- Inserts 5 dummy users for testing, with slight differences
-- 'Friend' and 'enemy' function like 'user', but we can use them to simulate 'other' users that may or may not be able to access certain things
-- IDs 1-5, 1-5
INSERT INTO users (id, username, name, email, role) VALUES (1, 'Admin', 'Administrator Test', '[email protected]', 'admin');
INSERT INTO users (id, username, name, email, role) VALUES (2, 'Moderator', 'Moderator Test', '[email protected]', 'moderator');
INSERT INTO users (id, username, name, email, role) VALUES (3, 'User', 'User Test', '[email protected]', 'developer');
INSERT INTO users (id, username, name, email, role) VALUES (4, 'Friend', 'Friend Test', '[email protected]', 'developer');
INSERT INTO users (id, username, name, email, role) VALUES (5, 'Enemy', 'Enemy Test', '[email protected]', 'developer');
INSERT INTO users (id, username, email, role) VALUES (1, 'Admin', '[email protected]', 'admin');
INSERT INTO users (id, username, email, role) VALUES (2, 'Moderator', '[email protected]', 'moderator');
INSERT INTO users (id, username, email, role) VALUES (3, 'User', '[email protected]', 'developer');
INSERT INTO users (id, username, email, role) VALUES (4, 'Friend', '[email protected]', 'developer');
INSERT INTO users (id, username, email, role) VALUES (5, 'Enemy', '[email protected]', 'developer');

-- Full PATs for each user, with different scopes
-- These are not legal PATs, as they contain all scopes- they mimic permissions of a logged in user
Expand Down

0 comments on commit 9ead597

Please sign in to comment.