projects
/
perl-cwmp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fill ParameterInfo using GetParameterNames
[perl-cwmp.git]
/
t
/
05-store.t
diff --git
a/t/05-store.t
b/t/05-store.t
index
6748641
..
0cac16f
100755
(executable)
--- a/
t/05-store.t
+++ b/
t/05-store.t
@@
-61,14
+61,14
@@
sub test_store {
is_deeply( $state, $store_state, 'state ID same as uid' );
is_deeply( $state, $store_state, 'state ID same as uid' );
-
ok( $store->update_state(
{
+
$state =
{
DeviceID => {
SerialNumber => 123456,
},
baz => 12345
DeviceID => {
SerialNumber => 123456,
},
baz => 12345
- }
), 'update_state existing' )
;
+ };
-
$state->{baz} = 12345
;
+
ok( $store->set_state( 123456, $state ), 'set_state' )
;
is_deeply( $store->get_state( 123456 ), $state, 'get_state' );
is_deeply( $store->get_state( 123456 ), $state, 'get_state' );