aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.UnitTesting
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-04-10 20:34:37 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-04-10 20:34:37 +0300
commit10a60c85181ba12f7cc1d84f23f6d6771faaae3d (patch)
treefac4d39f297fbfefda39cc670931a0d16237e86f /Software/Visual_Studio/Tango.UnitTesting
parente96ac0051590493eb23760aff71e3242fd88adf1 (diff)
downloadTango-10a60c85181ba12f7cc1d84f23f6d6771faaae3d.tar.gz
Tango-10a60c85181ba12f7cc1d84f23f6d6771faaae3d.zip
Working on TCC...
Diffstat (limited to 'Software/Visual_Studio/Tango.UnitTesting')
-rw-r--r--Software/Visual_Studio/Tango.UnitTesting/MachineService/MachineStudio_Controller_TST.cs14
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()