liquid_feedback_core
changeset 78:4fc1779a9c98
add test policies
the test policies have values that move them quickly to the target area for frontend development
the test policies have values that move them quickly to the target area for frontend development
author | Daniel Poelzleithner <poelzi@poelzi.org> |
---|---|
date | Mon Oct 04 14:24:29 2010 +0200 (2010-10-04) |
parents | 5d7b482241fa |
children | 0758a2e02620 |
files | demo.sql |
line diff
1.1 --- a/demo.sql Sun Sep 19 01:54:30 2010 +0200 1.2 +++ b/demo.sql Mon Oct 04 14:24:29 2010 +0200 1.3 @@ -245,5 +245,65 @@ 1.4 1.5 DROP FUNCTION "time_warp"(); 1.6 1.7 +-- Test policies that help with testing specific frontend parts 1.8 + 1.9 +INSERT INTO "policy" ( 1.10 + "index", 1.11 + "active", 1.12 + "name", 1.13 + "description", 1.14 + "admission_time", 1.15 + "discussion_time", 1.16 + "verification_time", 1.17 + "voting_time", 1.18 + "issue_quorum_num", 1.19 + "issue_quorum_den", 1.20 + "initiative_quorum_num", 1.21 + "initiative_quorum_den" 1.22 + ) VALUES ( 1.23 + 1, 1.24 + TRUE, 1.25 + 'Test New', 1.26 + DEFAULT, 1.27 + '2 days', 1.28 + '1 second', 1.29 + '1 second', 1.30 + '1 second', 1.31 + 0, 0, 1.32 + 0, 0 1.33 + ), ( 1.34 + 1, 1.35 + TRUE, 1.36 + 'Test Accept', 1.37 + DEFAULT, 1.38 + '1 second', 1.39 + '2 days', 1.40 + '1 second', 1.41 + '1 second', 1.42 + 0, 0, 1.43 + 0, 0 1.44 + ), ( 1.45 + 1, 1.46 + TRUE, 1.47 + 'Test Frozen', 1.48 + DEFAULT, 1.49 + '1 second', 1.50 + '5 minutes', 1.51 + '2 days', 1.52 + '1 second', 1.53 + 0, 0, 1.54 + 0, 0 1.55 + ), ( 1.56 + 1, 1.57 + TRUE, 1.58 + 'Test Voting', 1.59 + DEFAULT, 1.60 + '1 second', 1.61 + '5 minutes', 1.62 + '1 second', 1.63 + '2 days', 1.64 + 0, 0, 1.65 + 0, 0 1.66 + ); 1.67 END; 1.68