Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable setting headers on RemoteLRS.queryStatements #67

Merged
merged 1 commit into from
Aug 22, 2016

Conversation

brianjmiller
Copy link
Member

Fixes #26.

@brianjmiller
Copy link
Member Author

@garemoko care to review?

@garemoko
Copy link
Contributor

Code looks good. Would be nice to include a test.

@garemoko
Copy link
Contributor

The test would go around here: #67

I'm thinking we set the X-Experience-API-Version to "11" and test for a 400 response.

@brianjmiller
Copy link
Member Author

Tests would be good, but at this point I'm trying to get all of the things in, honestly I think to get better coverage in this lib we need to switch to mocking the LRS or the HTTP request, and that is a much bigger task than I'm willing (or able) to take on at the moment.

@brianjmiller brianjmiller merged commit 027759c into RusticiSoftware:master Aug 22, 2016
@brianjmiller brianjmiller deleted the qs-headers branch August 22, 2016 19:22
@garemoko
Copy link
Contributor

Cool. If I get some time this week I might add the test I suggested as a separate PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants