fix: pass OAuth scopes to DCR and extract granted_scopes from token response (#7571)
Signed-off-by: Peter Siska <63866+peschee@users.noreply.github.com> Co-authored-by: Jack Amadeo <jackamadeo@squareup.com>
This commit is contained in:
@@ -516,7 +516,9 @@ mod tests {
|
||||
let path1 = save_full_output("first", "test_reuse", dir.path()).unwrap();
|
||||
let path2 = save_full_output("second", "test_reuse", dir.path()).unwrap();
|
||||
assert_eq!(path1, path2);
|
||||
assert_eq!(std::fs::read_to_string(&path2).unwrap(), "second");
|
||||
// Note: we intentionally don't assert file content here because
|
||||
// parallel tests (render_output_truncates_*) share the same static
|
||||
// temp file and can overwrite the content between our write and read.
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user