Пример #1
0
        public void AdminUserExist()
        {
            bool isExist = loginDBHelper.IsAdminExist("admin", "admin");

            Assert.IsTrue(isExist, "Returned false when Admin user exists in the database.");
        }
Пример #2
0
 public void LoginAsAdmin(string username, string password)
 {
     Login(dbHelper.IsAdminExist(username, password));
 }