correct user id generation

This commit is contained in:
Mike Mason
2023-07-19 19:49:03 +00:00
parent f4beebd02f
commit 1bd86d3ec9
3 changed files with 9 additions and 9 deletions

View File

@@ -35,7 +35,7 @@ func TestTouchOrganizationEmpty(t *testing.T) {
},
}
userID := gidx.PrefixedID("idntusr-2s-9kVNPJBaInlHpRs3lAMsvU_kVkLaSlD4R_RhavDw")
userID := gidx.PrefixedID("idntusr-2aPXqbgfYSlld36XLfvNjEqUIIL9ekRZzgs2eBGOCBw")
user := &models.UserDetails{
ID: "usr1",
}
@@ -133,10 +133,10 @@ func TestTouchOrganizationCleanup(t *testing.T) {
},
}
oldUserID := gidx.PrefixedID("idntusr-2s-9kVNPJBaInlHpRs3lAMsvU_kVkLaSlD4R_RhavDw")
oldUserID := gidx.PrefixedID("idntusr-2aPXqbgfYSlld36XLfvNjEqUIIL9ekRZzgs2eBGOCBw")
deadProjectID := gidx.PrefixedID("metlprj-prj1")
userID := gidx.PrefixedID("idntusr-RnKvdujrwqm4o1dBDgfgaqeCpKFMaGeOtGnNbZky0Kg")
userID := gidx.PrefixedID("idntusr-Ewj_PJUue9eDIDoyCoWG48GtwlysqTj2Y4qWPiJPN1s")
user := &models.UserDetails{
ID: "usr2",
}
@@ -265,7 +265,7 @@ func TestTouchOrganizationNoChange(t *testing.T) {
},
}
userID := gidx.PrefixedID("idntusr-2s-9kVNPJBaInlHpRs3lAMsvU_kVkLaSlD4R_RhavDw")
userID := gidx.PrefixedID("idntusr-2aPXqbgfYSlld36XLfvNjEqUIIL9ekRZzgs2eBGOCBw")
user := &models.UserDetails{
ID: "usr1",
}

View File

@@ -24,7 +24,7 @@ func TestTouchProjectEmpty(t *testing.T) {
},
}
userID := gidx.PrefixedID("idntusr-2s-9kVNPJBaInlHpRs3lAMsvU_kVkLaSlD4R_RhavDw")
userID := gidx.PrefixedID("idntusr-2aPXqbgfYSlld36XLfvNjEqUIIL9ekRZzgs2eBGOCBw")
user := &models.UserDetails{
ID: "usr1",
}
@@ -110,10 +110,10 @@ func TestTouchProjectCleanup(t *testing.T) {
},
}
oldUserID := gidx.PrefixedID("idntusr-2s-9kVNPJBaInlHpRs3lAMsvU_kVkLaSlD4R_RhavDw")
oldUserID := gidx.PrefixedID("idntusr-2aPXqbgfYSlld36XLfvNjEqUIIL9ekRZzgs2eBGOCBw")
oldOrgID := gidx.PrefixedID("metlorg-org1")
userID := gidx.PrefixedID("idntusr-RnKvdujrwqm4o1dBDgfgaqeCpKFMaGeOtGnNbZky0Kg")
userID := gidx.PrefixedID("idntusr-Ewj_PJUue9eDIDoyCoWG48GtwlysqTj2Y4qWPiJPN1s")
user := &models.UserDetails{
ID: "usr2",
}
@@ -222,7 +222,7 @@ func TestTouchProjectNoChange(t *testing.T) {
},
}
userID := gidx.PrefixedID("idntusr-2s-9kVNPJBaInlHpRs3lAMsvU_kVkLaSlD4R_RhavDw")
userID := gidx.PrefixedID("idntusr-2aPXqbgfYSlld36XLfvNjEqUIIL9ekRZzgs2eBGOCBw")
user := &models.UserDetails{
ID: "usr1",
}