diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2019-04-14 11:29:34 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2019-04-14 11:29:34 +0300 |
| commit | e8c5d02db6b9a92b1ff378c1606b6cef6ce69141 (patch) | |
| tree | 031716dd1e4ce96b23334573d3773c43d1f1bb70 /Software/Visual_Studio/Tango.UnitTesting/MachineService | |
| parent | 987aa1e6a68a68a9251e59402d52f08eb2a6b198 (diff) | |
| parent | 641171e30368056bd97fd53c8dade56889739bc3 (diff) | |
| download | Tango-e8c5d02db6b9a92b1ff378c1606b6cef6ce69141.tar.gz Tango-e8c5d02db6b9a92b1ff378c1606b6cef6ce69141.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
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() |
