Closed brianjmiller closed 8 years ago
@garemoko care to review?
Code looks good. Would be nice to include a test.
The test would go around here: https://github.com/RusticiSoftware/TinCanPHP/pull/67
I'm thinking we set the X-Experience-API-Version to "11" and test for a 400 response.
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.
Cool. If I get some time this week I might add the test I suggested as a separate PR.
Fixes #26.