diff options
author | Teddy Wing | 2017-11-12 20:06:13 +0100 |
---|---|---|
committer | Teddy Wing | 2017-11-12 20:06:13 +0100 |
commit | 81390cd0d3b36f732f6e6071160fb944e1f12892 (patch) | |
tree | 6b1bdace5e4b43ca7c0ef82916e3e83d964d88d8 /src/github.rs | |
parent | c3eac830c7713f2e2740b95fe2ef3664ae0a021d (diff) | |
download | kipper-81390cd0d3b36f732f6e6071160fb944e1f12892.tar.bz2 |
Update tests for Jenkins mock URL
Now that the Jenkins API URL is getting passed in via command line and
function argument, update the tests to pass it in directly.
Remove the test/non-test versions of `jenkins_url` from
`find_and_track_build_and_update_status()` because we can pass in the
mock URL directly to the `get_jobs()` and `request_job()` functions in
tests.
Make the `jenkins_url` argument to
`find_and_track_build_and_update_status()` not a reference so that we
don't have to reset it in the function to a `to_owned()` version.
Diffstat (limited to 'src/github.rs')
0 files changed, 0 insertions, 0 deletions