[Rt-devel] Possible RT testing bug

Todd Chapman todd at chaka.net
Wed Mar 9 16:29:15 EST 2005


RT::Ticket::Create returns an array, so when evaluated in
a scalar context it is always true. Correct?

If so, isn't this testing code from Tickets_Overlay_SQL flawed?

ok( $t->Create(Queue => 'General', Subject => $string), "Ticket Created");


More information about the Rt-devel mailing list