in reply to DBIx::Class "Can't call method 'select' on an undefined value"
Looking further, the test:
is($rs->result_source->schema, $s->schema, "belongs to the same schema");
Fails with the message:
# Failed test 'belongs to the same schema' # at t/0200_db/0200_dbconnect.t line 52. # got: 'My::Schema::Class' # expected: 'My::Schema::Class=HASH(0x8a163c4)'
It appears to be saying that one is a string and the other is a hash...
And indeed, $rs->result_source->storage is undefined.