Use X-Api-Key header in integration tests

This commit is contained in:
Mark McDowall 2015-10-01 13:53:55 -07:00
parent 986dae590b
commit 2d7774c018
3 changed files with 3 additions and 0 deletions

View file

@ -87,6 +87,7 @@ namespace NzbDrone.Integration.Test
{
RestClient = new RestClient(RootUrl + "api/");
RestClient.AddDefaultHeader("Authentication", _runner.ApiKey);
RestClient.AddDefaultHeader("X-Api-Key", _runner.ApiKey);
Series = new SeriesClient(RestClient, _runner.ApiKey);
Releases = new ReleaseClient(RestClient, _runner.ApiKey);