diff options
Diffstat (limited to 'grasp-audit/src/specs/grasp01/push_authorization.rs')
| -rw-r--r-- | grasp-audit/src/specs/grasp01/push_authorization.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/grasp-audit/src/specs/grasp01/push_authorization.rs b/grasp-audit/src/specs/grasp01/push_authorization.rs index c1003b9..677af89 100644 --- a/grasp-audit/src/specs/grasp01/push_authorization.rs +++ b/grasp-audit/src/specs/grasp01/push_authorization.rs | |||
| @@ -1701,16 +1701,16 @@ mod tests { | |||
| 1701 | String::from_utf8_lossy(&output.stderr) | 1701 | String::from_utf8_lossy(&output.stderr) |
| 1702 | ); | 1702 | ); |
| 1703 | 1703 | ||
| 1704 | // Configure git user - use PR Test Author identity | 1704 | // Configure git user - use same identity as clone_repo in fixtures.rs |
| 1705 | let output = Command::new("git") | 1705 | let output = Command::new("git") |
| 1706 | .args(["config", "user.email", "pr-test@example.com"]) | 1706 | .args(["config", "user.email", "test@grasp-audit.local"]) |
| 1707 | .current_dir(path) | 1707 | .current_dir(path) |
| 1708 | .output() | 1708 | .output() |
| 1709 | .expect("git config email failed"); | 1709 | .expect("git config email failed"); |
| 1710 | assert!(output.status.success(), "git config email failed"); | 1710 | assert!(output.status.success(), "git config email failed"); |
| 1711 | 1711 | ||
| 1712 | let output = Command::new("git") | 1712 | let output = Command::new("git") |
| 1713 | .args(["config", "user.name", "PR Test Author"]) | 1713 | .args(["config", "user.name", "GRASP Audit Test"]) |
| 1714 | .current_dir(path) | 1714 | .current_dir(path) |
| 1715 | .output() | 1715 | .output() |
| 1716 | .expect("git config name failed"); | 1716 | .expect("git config name failed"); |