projects
/
dbsrgits/DBIx-Data-Store-old.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
don't overwrite cached object fields on fetch all since we can't guarantee that it...
[dbsrgits/DBIx-Data-Store-old.git]
/
t
/
01basic_collection.t
diff --git
a/t/01basic_collection.t
b/t/01basic_collection.t
index
c987036
..
9fded99
100644
(file)
--- a/
t/01basic_collection.t
+++ b/
t/01basic_collection.t
@@
-133,4
+133,8
@@
is($pterry->{name}, 'Sir Pterry', 'Pterry retrieved by id');
ok(!defined($set->get({ id => -1 })), 'undef on missing id');
+$pterry->{name} = 'Pterry';
+
+is_deeply([ sort_set $set->flatten ], \@expect, 'Basic data after fetch by id');
+
done_testing;