Skip to content

Instantly share code, notes, and snippets.

@penguinbroker
Last active August 29, 2015 14:16
Show Gist options
  • Save penguinbroker/f0f532c52101aff2f633 to your computer and use it in GitHub Desktop.
Save penguinbroker/f0f532c52101aff2f633 to your computer and use it in GitHub Desktop.
val institution = Await.result(ComponentRegistry.institutionService.fetchById("8b5fc2a9-9055-46bc-9a83-1ff8c00b004a"), 10.seconds)
Await.result(ComponentRegistry.sectionEnrollmentService.enroll(institution, "74ee7c8f-f854-4b3e-8210-f13714e7110c", "14d3dca8-e277-415e-93f7-1601d6b9ec03", models.UserSectionRole.Instructor), 100.seconds)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment