diff options
author | Teddy Wing | 2017-11-12 20:09:10 +0100 |
---|---|---|
committer | Teddy Wing | 2017-11-12 20:09:10 +0100 |
commit | aeba798c8e3f242c845e3d36966249ab9a914efc (patch) | |
tree | 2db3fd27bb31dc1ea5f6b1af46305ce804776a04 | |
parent | 81390cd0d3b36f732f6e6071160fb944e1f12892 (diff) | |
download | kipper-aeba798c8e3f242c845e3d36966249ab9a914efc.tar.bz2 |
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.
-rw-r--r-- | src/github.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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(), |