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")); }
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")); }