18858: Improves test & fixes discovered bug by said improved test.
authorLucas Di Pentima <lucas.dipentima@curii.com>
Wed, 6 Jul 2022 21:02:50 +0000 (18:02 -0300)
committerLucas Di Pentima <lucas.dipentima@curii.com>
Wed, 6 Jul 2022 21:02:50 +0000 (18:02 -0300)
commitda532b4d0a1939bbfa063beaffc53582aa3907d6
tree5361c0106878de98a3af4086b3323baeeb391cec
parentc592128fda794f2679a117a881c2f7d86ae091e0
18858: Improves test & fixes discovered bug by said improved test.

Also, fixes update decision function to avoid unnecessary calls on
users that are already inactive but the CSV file list them with admin=true.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
tools/sync-users/sync-users.go
tools/sync-users/sync-users_test.go