- Fixed test failures in t/[rest,rpc]/item.t on newer HTTP::Message versions
- Don't wrap the SQLite test schema DDL queries in a transaction to suppress
DBIx::Class warnings
+- Added diagnostic messages to tests that trigger DBIx::Class warnings
2.004003 2011-12-19 14:41:59 Europe/Vienna
- Fixed test failure in generic.t with Moose > 2.02
# test invalid track id caught
{
+ diag 'DBIx::Class warns about a non-numeric id which is ok because we test for that too';
foreach my $wrong_id ( 'sdsdsdsd', 3434234 ) {
my $incorrect_url = "$base/api/rest/track/" . $wrong_id;
my $test_data = $json->encode( { title => 'value' } );
# test invalid track id caught
{
+ diag 'DBIx::Class warns about a non-numeric id which is ok because we test for that too';
foreach my $wrong_id ( 'sdsdsdsd', 3434234 ) {
my $incorrect_url = "$base/api/rpc/track/id/" . $wrong_id . "/update";
my $req = POST( $incorrect_url, { title => 'value' } );