public async Task Test_add_user_modify_security_stamp_delete() { var dao = Global.TenantDao; await dao.EstablishConnectionAsync(); var guidId = Guid.NewGuid(); var userStore = new CassandraUserStore(); string userName = Guid.NewGuid().ToString(); var user = new CassandraUser() { Email = userName, UserName = userName, EmailConfirmed = false, PhoneNumberConfirmed = false, PhoneNumber = "310.383.1111", LockoutEnabled = false, PasswordHash = "1234", SecurityStamp = "1234" }; await userStore.CreateAsync(user); var foundUser = await userStore.FindByEmailAsync(userName); Assert.IsNotNull(foundUser); Assert.AreEqual(await userStore.GetSecurityStampAsync(foundUser), "1234"); await userStore.SetSecurityStampAsync(foundUser, "abcd"); await userStore.UpdateAsync(foundUser); foundUser = await userStore.FindByEmailAsync(userName); Assert.IsNotNull(foundUser); Assert.AreEqual(await userStore.GetSecurityStampAsync(foundUser), "abcd"); await userStore.DeleteAsync(foundUser); foundUser = await userStore.FindByEmailAsync(userName); Assert.IsNull(foundUser); }