From 75699ca6a902bc5a0367077d42272ab2bb75ac98 Mon Sep 17 00:00:00 2001 From: Molly Jones Date: Thu, 15 Sep 2016 15:01:25 -0700 Subject: [PATCH] epi-1207 plus updating two auth mgr groups login tests that hadn't been merged / that had only been fixed in dms3-version branch --- tests/spec/test-auth-manager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/spec/test-auth-manager.js b/tests/spec/test-auth-manager.js index c72a9bfa..2ab836ed 100644 --- a/tests/spec/test-auth-manager.js +++ b/tests/spec/test-auth-manager.js @@ -200,7 +200,7 @@ am.login({ userName: 'test', password: 'test' }).done(function (response) { var req = server.requests.pop(); req.method.toUpperCase().should.equal('GET'); - req.url.should.match(/https:\/\/api\.forio\.com\/group\/local\/?/); + req.url.should.match(/https:\/\/api\.forio\.com\/(.*)\/group\/local\/?/); var session = am.getCurrentUserSessionInfo(); session.groupName.should.equal('rv-test'); @@ -226,7 +226,7 @@ }).fail(function (data) { var req = server.requests.pop(); req.method.toUpperCase().should.equal('GET'); - req.url.should.match(/https:\/\/api\.forio\.com\/group\/local\/?/); + req.url.should.match(/https:\/\/api\.forio\.com\/(.*)\/group\/local\/?/); multipleGroupsResponse = false; teamMemberResponse = false;