Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions services/apis/fence/fenceTasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ module.exports = {
// run fence-create command to circumvent google and add user link to fence
const cmd = `fence-create force-link-google --username ${userAcct.username} --google-email ${googleEmail}`;
const res = bash.runCommand(cmd, 'fence', takeLastLine);

userAcct.linkedGoogleAccount = googleEmail;
return res;
},
Expand Down
3 changes: 2 additions & 1 deletion suites/google/googleDataAccessTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ const googleDataAccessTestSteps = async (I, fence, user, google, files, paramsQA
bash.runJob('usersync', args = 'FORCE true');
await checkPod(I, 'usersync', 'gen3job,job-name=usersync');

console.log('*** UNLINK AND LINK GOOGLE ACCOUNT ***');
console.log('*** UNLINK GOOGLE ACCOUNT ***');
await fence.complete.forceUnlinkGoogleAcct(user);
console.log('*** LINK GOOGLE ACCOUNT');
await fence.complete.linkGoogleAcctMocked(user);

console.log(`*** CREATE TEMP GOOGLE CREDS FOR USER ${user.username} AND SAVE TO TEMP FILE ***`);
Expand Down