X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/48495e8ed3c15aefa94561ecf7caedc6ad716514..6bcc2cf0dea668fd5c00af9f859e0c4327fbfa14:/tools/sync-users/sync-users_test.go diff --git a/tools/sync-users/sync-users_test.go b/tools/sync-users/sync-users_test.go index 5c272b0da0..8b5385a321 100644 --- a/tools/sync-users/sync-users_test.go +++ b/tools/sync-users/sync-users_test.go @@ -312,9 +312,11 @@ func (s *TestSuite) TestUserCreationAndUpdate(c *C) { c.Assert(foundUser.IsActive, Equals, r.Active) c.Assert(foundUser.IsAdmin, Equals, (r.Active && r.Admin)) } - // User active status switch + // User update for idx := range records { records[idx].Active = !records[idx].Active + records[idx].FirstName = records[idx].FirstName + "Updated" + records[idx].LastName = records[idx].LastName + "Updated" } tmpfile, err = MakeTempCSVFile(RecordsToStrings(records)) c.Assert(err, IsNil)