public void TestOpenConnectionInValid() { var mySqlProvider = new MySqlDatabaseProvider { ConnectionString = "SERVER=localhost;DATABASE=scduvss;UID=root;PASSWORD=123;" }; Assert.False(mySqlProvider.Open(), "Test MySql Connection Failed"); }
public void TestOpenConnectionValid() { var mySqlProvider = new MySqlDatabaseProvider { ConnectionString = ValidConnectionString }; Assert.IsTrue(mySqlProvider.Open(), "Test MySql Connection Failed"); }