Changeset 309


Ignore:
Timestamp:
05/21/10 18:27:01 (14 years ago)
Author:
nanardon
Message:
  • fix function name since its behavior have changed
Location:
trunk/t
Files:
3 edited

Legend:

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

    r269 r309  
    133133    $count++; 
    134134    diag("Testing vote #$count: " . ($tpoll->{poll}{label} || 'No name')); 
    135     ok(my $pollid = $vote->create_poll('test@', "Vote test $count", "password"), 
     135    ok(my $pollid = $vote->_create_poll('test@', "Vote test $count", "password"), 
    136136        "can create a new poll"); 
    137137 
  • trunk/t/11Epoll_DB_crypted.t

    r242 r309  
    1010isa_ok(my $vote = Epoll::DB->new(Epoll->config->{db}), 'Epoll::DB'); 
    1111 
    12 ok(my $pollid = $vote->create_poll('test@', "Vote test", "password"), 
     12ok(my $pollid = $vote->_create_poll('test@', "Vote test", "password"), 
    1313    "can create a new poll"); 
    1414 
  • trunk/t/20Epoll_Web.t

    r242 r309  
    1313my $vote = Epoll->model('Vote'); 
    1414 
    15 ok(my $pollid = $vote->create_poll('test@', 'Test poll', 'password'), 
     15ok(my $pollid = $vote->_create_poll('test@', 'Test poll', 'password'), 
    1616    "Can get new poll id"); 
    1717 
Note: See TracChangeset for help on using the changeset viewer.