Changeset 269 for trunk/t


Ignore:
Timestamp:
12/12/09 19:40:32 (14 years ago)
Author:
nanardon
Message:
  • allow to delete ballot after poll (then keeping only results in DB)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/10Epoll_DB.t

    r242 r269  
    121121plan tests =>  
    122122    3                          # Fixed test  
    123     + scalar(@$test_polls) * 6 # number of tested polls scenario 
    124     + $poll_test_count;        # poll test 
     123    + scalar(@$test_polls) * 7 # number of tested polls scenario 
     124    + $poll_test_count * 2;    # poll test 
    125125 
    126126use_ok 'Epoll', 'Epoll'; 
     
    165165    $tpoll->{tests}->($results); 
    166166 
     167    ok($results->delete_ballots, "Can switch to static results"); 
     168 
     169    $tpoll->{tests}->($results); 
     170 
    167171    $vote->db->rollback; # really rollback 
    168172} 
Note: See TracChangeset for help on using the changeset viewer.