using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.PMR.Synchronization;
using Tango.PPC.Common.MachineUpdate;
using Tango.Transport.Web;
namespace Tango.UnitTesting
{
[TestClass]
[TestCategory("Machine Service")]
public class MachineService_TST
{
[TestMethod]
public void Check_For_Updates()
{
IWebTransportClient client = new WebTransportClient();
var result = client.PostJson<CheckForUpdateRequest, CheckForUpdateResponse>("http://localhost:51581/api/PPC/CheckForUpdate", new CheckForUpdateRequest()
{
SerialNumber = "0000",
Version = "0.0.0.0",
}).Result;
}
}
}