Class::C3->reinitialize;
# inflation test
-my $cd = $schema->class("CD")->find(3);
+my $cd = $schema->resultset("CD")->find(3);
is( ref($cd->year), 'DateTime', 'year is a DateTime, ok' );
$cd->year( $now );
$cd->update;
-($cd) = $schema->class("CD")->search( year => $now->year );
+($cd) = $schema->resultset("CD")->search( year => $now->year );
is( $cd->year->year, $now->year, 'deflate ok' );
}