Beispiel #1
0
        public void checkRemoveProduct()
        {
            log.Info("Start check remove product test");
            // prepare
            string product        = "18";
            string expertedResult = "null";

            // action

            string result = Sql_request.checkProduct(product);

            //verefication
            Assert.AreEqual(result, expertedResult);
            log.Info("End check remove product test");
        }
Beispiel #2
0
        public void checkProduct()
        {
            log.Info("Start check product test");
            readToken();
            // prepare
            string expertedResult = "18";

            // action

            string result = Sql_request.checkProduct(expertedResult);

            //verefication
            Assert.AreEqual(result, expertedResult);

            log.Info("End check product test");
        }