From 0a7e733babf5e6ec4d98c7f8388c1a37da47d8f5 Mon Sep 17 00:00:00 2001 From: Irina Peshinskaya Date: Mon, 16 Apr 2018 16:13:01 +0200 Subject: [PATCH] TT#35702 Fix phonebooks tests Change-Id: Ia23dc8ce7e2fab1ecec825b2e3306e9989bbe911 (cherry picked from commit 22e54724e6330712c85eb81dbd214c16b055179f) --- t/api-rest/api-phonebookentries.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/api-rest/api-phonebookentries.t b/t/api-rest/api-phonebookentries.t index a084ed917f..397435f271 100644 --- a/t/api-rest/api-phonebookentries.t +++ b/t/api-rest/api-phonebookentries.t @@ -275,6 +275,7 @@ $test_machine->QUERY_PARAMS(''); test_phonebook_collection($subscriber_phonebookentries_created, '/api/phonebookentries/?subscriber_id='.$subscriber->{content}->{id}); } +$test_machine->runas('admin'); $fake_data->clear_test_data_all(); $test_machine->clear_test_data_all();#fake data aren't registered in this test machine, so they will stay. $fake_data->clear_test_data_all();