Exemple #1
0
        public void ThenTheAssociateCustomerUserEventDetailsAreNOTStoredInVSSDB()
        {
            string userUID = customerUserServiceSupport.AssociateCustomerUserModel.UserUID.ToString();

            string validateQuery = CustomerListSqlQueries.CustomerUserDetailsByCustomerUID + userUID + "'";

            MySqlUtil.ValidateMySQLQueryCount(MySqlConnectionString, validateQuery, 0); // There should be no matching rows.
        }
Exemple #2
0
        public void ThenTheDeleteCustomerEventDetailsAreRemovedInVSSDB()
        {
            CommonUtil.WaitToProcess(CustomerListConfig.KafkaTimeoutThreshold);

            customerUID = customerServiceSupport.DeleteCustomerModel.CustomerUID.ToString();
            string validateQuery = CustomerListSqlQueries.CustomerDetailsUpdateByCustomerUID + customerUID + "'";

            MySqlUtil.ValidateMySQLQueryCount(MySqlConnectionString, validateQuery, 0); // There should be no matching rows.
        }
Exemple #3
0
        public void ThenTheDissociateCustomerUserEventDetailsAreRemovedInVSSDB()
        {
            CommonUtil.WaitToProcess("2");

            string customerUID   = customerAssetServiceSupport.DissociateCustomerAssetModel.CustomerUID.ToString();
            string userUID       = customerAssetServiceSupport.DissociateCustomerAssetModel.AssetUID.ToString();
            string validateQuery = CustomerServiceMySqlQueries.CustomerUserDetails + customerUID + "' AND fk_UserUID='" + userUID + "'";

            MySqlUtil.ValidateMySQLQueryCount(MySqlConnectionString, validateQuery, 0); // There should be no matching rows.
        }
Exemple #4
0
        public void ThenTheDeleteCustomerEventDetailsAreRemovedInVSSDB()
        {
            string customerUID = customerServiceSupport.DeleteCustomerModel.CustomerUID.ToString();

            CommonUtil.WaitToProcess("2"); //Wait for the data to get persisted in DB

            customerUID = customerServiceSupport.DeleteCustomerModel.CustomerUID.ToString();
            string validateQuery = CustomerServiceMySqlQueries.CustomerDetailsUpdateByCustomerUID + customerUID + "'";

            MySqlUtil.ValidateMySQLQueryCount(MySqlConnectionString, validateQuery, 0); // There should be no matching rows.
        }