10 my $schema = DBICTest->init_schema();
14 my $cd = $schema->resultset("CD")->find(2);
16 ok keys %{$cd->{_relationship_data}}, "_relationship_data populated";
19 ok $cd->liner_notes, 'relationships still valid after discarding changes';
21 ok $cd->liner_notes->delete;
23 ok !$cd->liner_notes, 'discard_changes resets relationship';