Fix GCE auth interop test. (#57)

Hopefully.
This commit is contained in:
Jakob Andersen 2018-02-06 12:46:53 -08:00 committed by GitHub
parent ab92276174
commit 325eadec8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -670,8 +670,8 @@ class Tester {
throw 'OAuth scope not received.'; throw 'OAuth scope not received.';
} }
if (!serviceAccountJson.contains(user)) { if (user != defaultServiceAccount) {
throw 'Got user name $user, which is not a substring of $serviceAccountJson'; throw 'Got user name $user, wanted $defaultServiceAccount';
} }
if (!oauthScope.contains(oauth)) { if (!oauthScope.contains(oauth)) {
throw 'Got OAuth scope $oauth, which is not a substring of $oauthScope'; throw 'Got OAuth scope $oauth, which is not a substring of $oauthScope';