Beispiel #1
0
        public void SystemAccountUpdate_Test()
        {
            SystemAccount sysAccount1 = linkWebDB.SystemAccounts.FirstOrDefault();

            sysAccount1.UpdateSystemAccount("Gian Ismhael Lim", "gianismhael.lim", "B3 L1-2 Amparo Village, Tambaling", "Test account 1", PasswordHasher.HashPassword("gastovski"), EnumSystemAccountType.TellerAcount);
            linkWebDB.SaveChanges();

            Assert.AreEqual(linkWebDB.SystemAccounts.FirstOrDefault().Name, "Gian Ismhael Lim");
        }