aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.UnitTesting
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-08-12 19:00:36 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-08-12 19:00:36 +0300
commit18fc4053deb06af6643f28a6bb4fd66c6a9a93e0 (patch)
treedb2e3b344e30a95a3a09d662930ce129246a57d9 /Software/Visual_Studio/Tango.UnitTesting
parentbbbc155a96729050b9aa7d966055726df46696af (diff)
downloadTango-18fc4053deb06af6643f28a6bb4fd66c6a9a93e0.tar.gz
Tango-18fc4053deb06af6643f28a6bb4fd66c6a9a93e0.zip
Implemented temporary DB user login for machine service machine setup.
Implemented Tango updater! Implemented support for software update on machine setup.
Diffstat (limited to 'Software/Visual_Studio/Tango.UnitTesting')
-rw-r--r--Software/Visual_Studio/Tango.UnitTesting/SQLExaminer_TST.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.UnitTesting/SQLExaminer_TST.cs b/Software/Visual_Studio/Tango.UnitTesting/SQLExaminer_TST.cs
index 980dd7a27..5ab70938c 100644
--- a/Software/Visual_Studio/Tango.UnitTesting/SQLExaminer_TST.cs
+++ b/Software/Visual_Studio/Tango.UnitTesting/SQLExaminer_TST.cs
@@ -9,6 +9,7 @@ using System.Text;
using System.Threading.Tasks;
using Tango.BL;
using Tango.BL.Entities;
+using Tango.Core.DB;
using Tango.Core.IO;
using Tango.SQLExaminer;
@@ -183,7 +184,7 @@ namespace Tango.UnitTesting
String source_db = "Source_DB_Test";
String target_db = "Target_DB_Test";
- DbManager db = new DbManager(new SqlConnection("Server=localhost\\SQLEXPRESS;Integrated security=SSPI"));
+ DbManager db = DbManager.FromAddress("localhost\\SQLEXPRESS");
Assert.IsTrue(db.Exists("Tango"), "Database Tango does not exists.");
if (db.Exists(source_db))