TT#129162 api-rest subscriber get2put ignore field webpassword

* 'webpassword' field is changed on every PUT, because the salted hash
  is recalculated, even if it is the same plain text password that
  is provided in the PUT, therefore api-rest cannot compare the
  'webpassword' field obtained on GET with the one that is obtained
  after PUT

Change-Id: I7d5108c57bd7ab1b5a59c247836d1357317aaa32
(cherry picked from commit ad0f0b304b)
mr10.0
Kirill Solomko 4 years ago
parent b953500534
commit d1c091be26

@ -73,7 +73,7 @@ $fake_data->set_data_from_script({
$_[0]->{primary_number}->{sn} = $time.$num;
}, $self->data->{$collection_name}->{data} );
},
'update_change_fields' => [qw/modify_timestamp create_timestamp primary_number_id/],
'update_change_fields' => [qw/modify_timestamp create_timestamp primary_number_id webpassword/],
},
});

Loading…
Cancel
Save