Commits

Daniel Poelzleithner committed 4fc1779

add test policies

the test policies have values that move them quickly to the target area for frontend development

Comments (0)

Files changed (1)

 
 DROP FUNCTION "time_warp"();
 
+-- Test policies that help with testing specific frontend parts
+
+INSERT INTO "policy" (
+        "index",
+        "active",
+        "name",
+        "description",
+        "admission_time",
+        "discussion_time",
+        "verification_time",
+        "voting_time",
+        "issue_quorum_num",
+        "issue_quorum_den",
+        "initiative_quorum_num",
+        "initiative_quorum_den"
+    ) VALUES (
+        1,
+        TRUE,
+        'Test New',
+        DEFAULT,
+        '2 days',
+        '1 second',
+        '1 second',
+        '1 second',
+        0, 0,
+        0, 0
+    ), (
+        1,
+        TRUE,
+        'Test Accept',
+        DEFAULT,
+        '1 second',
+        '2 days',
+        '1 second',
+        '1 second',
+        0, 0,
+        0, 0
+    ), (
+        1,
+        TRUE,
+        'Test Frozen',
+        DEFAULT,
+        '1 second',
+        '5 minutes',
+        '2 days',
+        '1 second',
+        0, 0,
+        0, 0
+    ), (
+        1,
+        TRUE,
+        'Test Voting',
+        DEFAULT,
+        '1 second',
+        '5 minutes',
+        '1 second',
+        '2 days',
+        0, 0,
+        0, 0
+    );
 END;