diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-04-10 20:34:37 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-04-10 20:34:37 +0300 |
| commit | 10a60c85181ba12f7cc1d84f23f6d6771faaae3d (patch) | |
| tree | fac4d39f297fbfefda39cc670931a0d16237e86f /Software/Visual_Studio/Tango.UnitTesting/MachineService | |
| parent | e96ac0051590493eb23760aff71e3242fd88adf1 (diff) | |
| download | Tango-10a60c85181ba12f7cc1d84f23f6d6771faaae3d.tar.gz Tango-10a60c85181ba12f7cc1d84f23f6d6771faaae3d.zip | |
Working on TCC...
Diffstat (limited to 'Software/Visual_Studio/Tango.UnitTesting/MachineService')
| -rw-r--r-- | Software/Visual_Studio/Tango.UnitTesting/MachineService/MachineStudio_Controller_TST.cs | 14 |
1 files changed, 7 insertions, 7 deletions
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<LoginRequest, LoginResponse>($"{address}/api/MachineStudio/Login", new LoginRequest() - { - Email = "TestUser@twine-s.com", - Password = "ASJH_asdjkl1234", - Version = "1.0.0.0" - }).Result; + //var res1 = client.PostJson<LoginRequest, LoginResponse>($"{address}/api/MachineStudio/Login", new LoginRequest() + //{ + // Email = "TestUser@twine-s.com", + // Password = "ASJH_asdjkl1234", + // Version = "1.0.0.0" + //}).Result; - String token = res1.AccessToken; + String token = "1234"; client.AuthenticationToken = token; var res2 = client.PostJson<CheckForUpdatesRequest, CheckForUpdatesResponse>($"{address}/api/MachineStudio/CheckForUpdates", new CheckForUpdatesRequest() |
