aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2017-11-12 20:09:10 +0100
committerTeddy Wing2017-11-12 20:09:10 +0100
commitaeba798c8e3f242c845e3d36966249ab9a914efc (patch)
tree2db3fd27bb31dc1ea5f6b1af46305ce804776a04 /src
parent81390cd0d3b36f732f6e6071160fb944e1f12892 (diff)
downloadkipper-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.
Diffstat (limited to 'src')
-rw-r--r--src/github.rs1
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(),