From 6af122f5a21b97220af01fe3a99dec3bede8faca Mon Sep 17 00:00:00 2001 From: Jessica Lawshe <5312836+lawshe@users.noreply.github.com> Date: Tue, 27 Feb 2024 09:59:15 -0600 Subject: [PATCH] Merge pull request #17221 from overleaf/jel-acceptance-tests [web] Update SAML and group acceptance tests helpers GitOrigin-RevId: b31abf1e8d34169b5ee428186b6168c083a72d46 --- .../acceptance/src/helpers/Subscription.js | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/services/web/test/acceptance/src/helpers/Subscription.js b/services/web/test/acceptance/src/helpers/Subscription.js index 76544a07f6..811fcbf539 100644 --- a/services/web/test/acceptance/src/helpers/Subscription.js +++ b/services/web/test/acceptance/src/helpers/Subscription.js @@ -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 },