fix and regression test for RT #62642
[dbsrgits/DBIx-Class.git] / t / schema / anon.t
CommitLineData
551e711a 1use strict;
2use warnings;
3use Test::More;
4use Test::Exception;
5
6use lib qw(t/lib);
7use DBICTest;
8
9lives_ok (sub {
10 DBICTest->init_schema()->resultset('Artist')->find({artistid => 1 })->update({name => 'anon test'});
11}, 'Schema object not lost in chaining');
12
13done_testing;