示例#1
0
        public void addCardToCollectionTest()
        {
            AddCardRequest cardRequest = new AddCardRequest(id, validToken, "fake", "addCardToCollection");
            string         json        = JsonConvert.SerializeObject(cardRequest);
            string         res         = sendNetworkRequest(json);

            Assert.IsTrue(res.Contains("card added successfully"));
        }
示例#2
0
        public void addCardToCollectionTest()
        {
            AddCardRequest cardRequest = new AddCardRequest(Constants.MY_ID, Constants.VALID_TOKEN, "fake", "addCardToCollection");
            string         json        = JsonConvert.SerializeObject(cardRequest);
            string         res         = sendNetworkRequestHere(json);

            Assert.IsTrue(res.Contains("card added successfully"));
        }