summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_regular/test/sql_pt_representation_test.cc
diff options
context:
space:
mode:
authorAndrey Oleynik <aoleynik@luxoft.com>2017-08-20 18:39:16 +0300
committerAndrey Oleynik <aoleynik@luxoft.com>2017-08-21 16:02:16 +0300
commit8f546b0a662d3cf3f40c014c7abc2bbdcab056be (patch)
tree448ff8fc8c8ef31c235c33b355017abb8b0f93e0 /src/components/policy/policy_regular/test/sql_pt_representation_test.cc
parentb0b3b2fc4fb65d65ba7aa87a28bb0aa107a06498 (diff)
downloadsdl_core-8f546b0a662d3cf3f40c014c7abc2bbdcab056be.tar.gz
Fixes AM and RC unit test after removal, drops obsolete code
Diffstat (limited to 'src/components/policy/policy_regular/test/sql_pt_representation_test.cc')
-rw-r--r--src/components/policy/policy_regular/test/sql_pt_representation_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/policy/policy_regular/test/sql_pt_representation_test.cc b/src/components/policy/policy_regular/test/sql_pt_representation_test.cc
index cef5cdeb38..cbde0ca00f 100644
--- a/src/components/policy/policy_regular/test/sql_pt_representation_test.cc
+++ b/src/components/policy/policy_regular/test/sql_pt_representation_test.cc
@@ -420,7 +420,8 @@ TEST_F(SQLPTRepresentationTest,
ASSERT_EQ(0, dbms->FetchOneInt(query_select));
ASSERT_TRUE(reps->RefreshDB());
// Check PT structure destroyed and tables number is 0
- ASSERT_EQ(30, dbms->FetchOneInt(query_select));
+ const int32_t total_tables_number = 29;
+ ASSERT_EQ(total_tables_number, dbms->FetchOneInt(query_select));
const char* query_select_count_of_iap_buffer_full =
"SELECT `count_of_iap_buffer_full` FROM `usage_and_error_count`";
const char* query_select_count_sync_out_of_memory =