Skip to content

Instantly share code, notes, and snippets.

Created May 18, 2009 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/113583 to your computer and use it in GitHub Desktop.
Save anonymous/113583 to your computer and use it in GitHub Desktop.
Called UNIVERSAL::can() as a function, not a method at /usr/lib/perl5/vendor_perl/5.10.0/DateTime/Locale.pm line 298
Subroutine webguiBirthday redefined at /data/WebGUI_HEAD/t/Mail/../lib/WebGUI/Test.pm line 406.
1..18
Called UNIVERSAL::can() as a function, not a method at /usr/lib/perl5/vendor_perl/5.10.0/DateTime/TimeZone.pm line 77
ok 1 - WebGUI::Mail::Send->create returns a WebGUI::Mail::Send object isa WebGUI::Mail::Send
ok 2 - getMimeEntity isa MIME::Entity
ok 3 - addText should add newlines after 78 characters
ok 4 - addHtml should add newlines after 78 characters
ok 5 - addHtmlRaw should add newlines after 78 characters
Use of uninitialized value $this in pattern match (m//) at t/Mail/Send.t line 184.
not ok 6 - Email TO: address is overridden
# Failed test 'Email TO: address is overridden'
# at t/Mail/Send.t line 184.
# undef
# doesn't match '(?-xism:dufresne\@localhost)'
Use of uninitialized value $this in pattern match (m//) at t/Mail/Send.t line 193.
not ok 7 - Message-Id is valid
# Failed test 'Message-Id is valid'
# at t/Mail/Send.t line 193.
# undef
# doesn't match '(?-xism:^<WebGUI-([a-zA-Z0-9\-_]){22}@\w+\.\w{2,4}>$)'
ok 8 - generated Message-Id is valid
ok 9 - bad messageId corrected (added ending angle)
ok 10 - bad messageId corrected (added starting angle)
ok 11 - bad messageId corrected (added both angles)
ok 12 - send, toUser with email address
ok 13 - send, toUser with SMS address
ok 14 - send, toUser with SMS and email addresses
ok 15 - creating a message does not queue a message
ok 16 - sending a message with a group added two messages
ok 17 - sending a message with a group added the right two messages
ok 18 - send: when the original is sent, new messages are created for each user in the group, following their user profile settings
# Looks like you failed 2 tests of 18.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment