A web-based collaborative LaTeX editor
Find a file
Jakob Ackermann da9f966ff0 [misc] prepare acceptance tests for mismatching ObjectId types (#3188)
- helpers/User: UserUpdater cannot handle foreign ObjectIds. Instead use
  `mongoUpdate`, which in turn uses the user id which
  `setExtraAttributes` sets -- hence the reordering of calls.
- CollabratecTests: use chaId for id comparison.
- ProjectStructureMongoLockTest: use chaId for id comparison.
- UserHelper: less generic updateUser -- wrap the passed ObjectId

GitOrigin-RevId: b16e2b66dcb3dd5f0a842ca5e55fa661abe9035f
2020-10-06 02:04:34 +00:00
services/web [misc] prepare acceptance tests for mismatching ObjectId types (#3188) 2020-10-06 02:04:34 +00:00