public static void Setup(RMSSystem rmsSystem) { // Create the Sys_Admin account. var systemAdmin = rmsSystem.CreateSystemAccount(IdentityId, Username, "admin"); // Activate the Account systemAdmin.MakeActive(); // Make an Administrator. systemAdmin.MakeAdministrator(); }
public void CreateSystemAccount() { var result = rmssystem.CreateSystemAccount(Guid.NewGuid(), "data", "data1"); result.Should().BeOfType(typeof(SystemAccount)); }