Merge pull request #17221 from overleaf/jel-acceptance-tests

[web] Update SAML and group acceptance tests helpers

GitOrigin-RevId: b31abf1e8d34169b5ee428186b6168c083a72d46
This commit is contained in:
Jessica Lawshe 2024-02-27 09:59:15 -06:00 committed by Copybot
parent 9127e59599
commit 6af122f5a2

View file

@ -153,31 +153,6 @@ class Subscription {
})
}
linkGroupSSO(
user,
externalUserId,
userIdAttribute,
auditLog,
sessionID,
callback
) {
SubscriptionModel.findById(this._id).exec((error, subscription) => {
if (error) {
return callback(error)
}
Modules.hooks.fire(
'linkUserToGroupSSO',
user._id,
subscription,
externalUserId,
userIdAttribute,
auditLog,
sessionID,
callback
)
})
}
expectDeleted(deleterData, callback) {
DeletedSubscriptionModel.find(
{ 'subscription._id': this._id },