From aeba798c8e3f242c845e3d36966249ab9a914efc Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 12 Nov 2017 20:09:10 +0100 Subject: github.rs: Update tests to pass GitHub token Now that `update_commit_status()` takes the GitHub API token as an argument, pass in a fake one in our test. --- src/github.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/github.rs') diff --git a/src/github.rs b/src/github.rs index 83a5526..91e9266 100644 --- a/src/github.rs +++ b/src/github.rs @@ -100,6 +100,7 @@ mod tests { }; update_commit_status( + &"token".to_owned(), &commit_ref, &CommitStatus::Success, "https://jenkins.example.com/job/octocat/3".to_string(), -- cgit v1.2.3