Switched tests to use DBICTest->class("...")
[dbsrgits/DBIx-Class.git] / t / run / 05multipk.tl
CommitLineData
0567538f 1sub run_tests {
2
1f6715ab 3plan tests => 3;
0567538f 4
3712e4f4 5ok(DBICTest->class("FourKeys")->find(1,2,3,4), "find multiple pks without hash");
6ok(DBICTest->class("FourKeys")->find(5,4,3,6), "find multiple pks without hash");
0567538f 7
3712e4f4 8is(DBICTest->class("FourKeys")->find(1,2,3,4)->ID, 'DBICTest::FourKeys|bar=2|foo=1|goodbye=4|hello=3', 'unique object id ok for multiple pks');
1f6715ab 9
0567538f 10}
11
121;