From 8b650b590224b4c922aab831307c7bcb29fa9fdc Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Tue, 21 May 2019 08:37:45 +0300 Subject: Fixed issue with PPC update TEMP_USER not having VIEW_DEFINITION permissions. --- .../Visual_Studio/Tango.UnitTesting/SMO/SMO_TST.cs | 22 ++++++++++++++++++++++ .../Tango.UnitTesting/Tango.UnitTesting.csproj | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 Software/Visual_Studio/Tango.UnitTesting/SMO/SMO_TST.cs (limited to 'Software/Visual_Studio/Tango.UnitTesting') diff --git a/Software/Visual_Studio/Tango.UnitTesting/SMO/SMO_TST.cs b/Software/Visual_Studio/Tango.UnitTesting/SMO/SMO_TST.cs new file mode 100644 index 000000000..f258c4e17 --- /dev/null +++ b/Software/Visual_Studio/Tango.UnitTesting/SMO/SMO_TST.cs @@ -0,0 +1,22 @@ +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.Web.SMO; + +namespace Tango.UnitTesting.SMO +{ + [TestClass] + [TestCategory("SMO")] + public class SMO_TST + { + [TestMethod] + public void Create_Temp_User_And_Grant_Read_And_View_Defaults() + { + SmoManager smo = new SmoManager(); + var user = smo.CreateRandomLoginAndUser(); + } + } +} diff --git a/Software/Visual_Studio/Tango.UnitTesting/Tango.UnitTesting.csproj b/Software/Visual_Studio/Tango.UnitTesting/Tango.UnitTesting.csproj index c7a2cc451..28144e010 100644 --- a/Software/Visual_Studio/Tango.UnitTesting/Tango.UnitTesting.csproj +++ b/Software/Visual_Studio/Tango.UnitTesting/Tango.UnitTesting.csproj @@ -144,6 +144,7 @@ + @@ -307,7 +308,7 @@ - + \ No newline at end of file -- cgit v1.3.1