X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F60core.t;h=03fe3b69b82f1ed1c9ae5caea79a363f54ecb143;hb=4b08a8b982ab4e7e7dde8f10633c558b11343b8f;hp=8ab6129b2c847cbc78564b49112e158fed219bd0;hpb=63bb9738dd8fdca42ad88d99a2a3861ad2b00eed;p=dbsrgits%2FDBIx-Class.git diff --git a/t/60core.t b/t/60core.t index 8ab6129..03fe3b6 100644 --- a/t/60core.t +++ b/t/60core.t @@ -1,5 +1,5 @@ use strict; -use warnings; +use warnings; use Test::More; use Test::Exception; @@ -109,10 +109,12 @@ is($new_again->ID, 'DBICTest::Artist|artist|artistid=4', 'unique object id gener { ok(my $artist = $schema->resultset('Artist')->create({name => 'store_column test'})); is($artist->name, 'X store_column test'); # used to be 'X X store...' - + # call store_column even though the column doesn't seem to be dirty - ok($artist->update({name => 'X store_column test'})); + $artist->name($artist->name); is($artist->name, 'X X store_column test'); + ok($artist->is_column_changed('name'), 'changed column marked as dirty'); + $artist->delete; } @@ -419,9 +421,9 @@ SKIP: { # make sure we got rid of the compat shims SKIP: { - skip "Remove in 0.09", 5 if $DBIx::Class::VERSION < 0.09; + skip "Remove in 0.082", 3 if $DBIx::Class::VERSION < 0.082; - for (qw/compare_relationship_keys pk_depends_on resolve_condition resolve_join resolve_prefetch/) { + for (qw/compare_relationship_keys pk_depends_on resolve_condition/) { ok (! DBIx::Class::ResultSource->can ($_), "$_ no longer provided by DBIx::Class::ResultSource"); } }