8 my $schema = DBICTest->init_schema( no_connect => 1, no_deploy => 1 );
10 is_deeply($schema->source_tree, {
13 ArtistUndirectedMap => {
19 Artwork_to_Artist => {
55 FourKeys_to_TwoKeys => {
84 SourceNameArtists => {},
88 TimestampPrimaryKey => {},
99 }, 'got correct source tree');
105 ArtistSubclass => {},
106 ArtistUndirectedMap => {
112 Artwork_to_Artist => {
132 CollectionObject => {
148 FourKeys_to_TwoKeys => {
176 SourceNameArtists => {},
180 TimestampPrimaryKey => {},
185 TwoKeyTreeLike => {},
190 $schema->source_tree({ limit_sources => ['TwoKeys'] }),
192 'got correct source tree with limit_sources => [ ... ]',
196 $schema->source_tree({ limit_sources => { TwoKeys => 1 } }),
198 'got correct source tree with limit_sources => { ... }',
201 # We probably also want a "collapsed" tree