10 my $schema = DBICTest->init_schema();
12 my $rs = $schema->resultset('NoPrimaryKey');
14 my $row = $rs->create ({ foo => 1, bar => 1, baz => 1 });
18 }, 'Set on pkless object works');
20 is ($row->foo, 2, 'Column updated in-object');
23 $row->update ({baz => 3});
24 }, 'update() fails on pk-less object');
26 is ($row->foo, 2, 'Column not updated by failed update()');
30 }, 'delete() fails on pk-less object');