From d1c091be261449d196b261b61d201b76b6b6acf5 Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Tue, 31 Aug 2021 12:14:23 +0200 Subject: [PATCH] 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 ad0f0b304baa217e77bb35e575e74aab3f359357) --- t/api-rest/api-subscribers.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/api-rest/api-subscribers.t b/t/api-rest/api-subscribers.t index fd392f79f2..dea04ce063 100644 --- a/t/api-rest/api-subscribers.t +++ b/t/api-rest/api-subscribers.t @@ -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/], }, });