[jifty-devel] Re: More warnings when update permission fails.

Edmund von der Burg evdb at ecclestoad.co.uk
Wed Mar 7 08:05:01 EST 2007


Quick hacking gives this:


sub model_ok {
    my ( $status, $msg, $test_comment ) = @_;
    $test_comment ||= '';

    $status    #
      ? pass $test_comment
      : fail "$test_comment - $msg";
}





not ok 16 - change name - Permission denied
#   Failed test 'change name - Permission denied'
#   in t/00-model-User.t at line 80.


More information about the jifty-devel mailing list