Dave Howorth wrote:
> I've poked around some more and think I've found the source of the
> problem. I went back to a small example that worked and then
> experimented until it broke.

I looked at the cdbi-t tests to see how connection() is tested. AFAICT,
it isn't! So here are two tests for connection. The first one passes for
me and the second one fails.

Both pass if I replace

  use base 'DBIx::Class::CDBICompat';
with
  use base 'Class::DBI';

So can I ask that the tests be added to the test suite. I'm afraid I
don't know enough about DBIC internals to offer a patch so the test passes.

Thanks and regards,
Dave Howorth

Attachment: cdbicompat-connection-test-1.t
Description: Troff document

Attachment: cdbicompat-connection-test-2.t
Description: Troff document

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to