From 10a60c85181ba12f7cc1d84f23f6d6771faaae3d Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Wed, 10 Apr 2019 20:34:37 +0300 Subject: Working on TCC... --- .../MachineService/MachineStudio_Controller_TST.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Software/Visual_Studio/Tango.UnitTesting/MachineService/MachineStudio_Controller_TST.cs') diff --git a/Software/Visual_Studio/Tango.UnitTesting/MachineService/MachineStudio_Controller_TST.cs b/Software/Visual_Studio/Tango.UnitTesting/MachineService/MachineStudio_Controller_TST.cs index d4585388a..e30cd6d77 100644 --- a/Software/Visual_Studio/Tango.UnitTesting/MachineService/MachineStudio_Controller_TST.cs +++ b/Software/Visual_Studio/Tango.UnitTesting/MachineService/MachineStudio_Controller_TST.cs @@ -22,14 +22,14 @@ namespace Tango.UnitTesting.MachineService IWebTransportClient client = new WebTransportClient(); - var res1 = client.PostJson($"{address}/api/MachineStudio/Login", new LoginRequest() - { - Email = "TestUser@twine-s.com", - Password = "ASJH_asdjkl1234", - Version = "1.0.0.0" - }).Result; - - String token = res1.AccessToken; + //var res1 = client.PostJson($"{address}/api/MachineStudio/Login", new LoginRequest() + //{ + // Email = "TestUser@twine-s.com", + // Password = "ASJH_asdjkl1234", + // Version = "1.0.0.0" + //}).Result; + + String token = "1234"; client.AuthenticationToken = token; var res2 = client.PostJson($"{address}/api/MachineStudio/CheckForUpdates", new CheckForUpdatesRequest() -- cgit v1.3.1