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

Test case ""scheduler" fails #1245

Closed
mountaindude opened this issue Oct 1, 2024 · 1 comment · Fixed by #1192 or #1269 · May be fixed by #1307
Closed

Test case ""scheduler" fails #1245

mountaindude opened this issue Oct 1, 2024 · 1 comment · Fixed by #1192 or #1269 · May be fixed by #1307
Labels

Comments

@mountaindude
Copy link
Collaborator

Running npm test scheduler fails the last test case:

 H8: GET /v4/schedules/status
    ✓ It should respond with 200 when getting status (7 ms)
    ✕ Response should be a string (7 ms)

The Butler log does not show any warnings or errors.

@mountaindude
Copy link
Collaborator Author

This API endpoint returns text/plain rather than the application/json that most other endpoints return.
This is correct (for now), the test case however incorrectly assumes the response to be an object.

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