Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add unit test on ScriptLevelsController#hidden_stage_ids for teacher - #36681

#36681
Merged
uponthesun merged 1 commit into
stagingcode-dot-org/code-dot-org:stagingfrom
hidden-stage-ids-unit-testcode-dot-org/code-dot-org:hidden-stage-ids-unit-testCopy head branch name to clipboard
Sep 10, 2020
Merged

Add unit test on ScriptLevelsController#hidden_stage_ids for teacher#36681
uponthesun merged 1 commit into
stagingcode-dot-org/code-dot-org:stagingfrom
hidden-stage-ids-unit-testcode-dot-org/code-dot-org:hidden-stage-ids-unit-testCopy head branch name to clipboard

Conversation

@uponthesun

@uponthesun uponthesun commented Sep 10, 2020

Copy link
Copy Markdown

Adds missing test. The shape of the response returned is different for teachers compared to students.

This was one of the things broken by: #36560

That PR has been reverted; I'm adding unit tests for the affected APIs, then I'll fix the behavior on that branch and make a new PR.

I think this is the only thing that broke in the two failing eyes tests (hiding lessons).

@uponthesun
uponthesun requested a review from cforkish September 10, 2020 00:09
@uponthesun
uponthesun merged commit e782a57 into staging Sep 10, 2020
@uponthesun
uponthesun deleted the hidden-stage-ids-unit-test branch September 10, 2020 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.