{"action":"created","comment":{"url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/pulls/comments/204494620","pull_request_review_id":139582042,"id":204494620,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNDQ5NDYyMA==","diff_hunk":"@@ -306,22 +335,35 @@ describe('d2l-enrollment-card', () => {\n \t\tbeforeEach(done => loadEnrollment(done));\n \n \t\tit('should show the semester if the showSemester is set', () => {\n-\t\t\tcomponent.showSemester = true;\n+\t\t\tpresentationEntity.properties.ShowSemester = true;\n+\t\t\tcomponent._presentation = {};\n+\t\t\tcomponent._presentation = presentationEntity;\n \n \t\t\treturn component._fetchSemester().then(() => {\n \t\t\t\tvar semester = component.$$('.semester-text');\n \t\t\t\texpect(semester.innerText).to.equal(semesterOrganizationEntity.properties.name);\n-\t\t\t\texpect(window.getComputedStyle(semester).getPropertyValue('display')).to.equal('inline-block');\n+\t\t\t\texpect(semester.hasAttribute('hidden')).to.be.false;\n \t\t\t});\n \t\t});\n \n \t\tit('should not set the semester name if the show semester config is false', () => {\n \t\t\tvar spy = sandbox.spy(component, '_fetchSirenEntity');\n+\t\t\tpresentationEntity.properties.ShowCourseCode = true;\n+\t\t\tcomponent._presentation = presentationEntity;\n \n-\t\t\tcomponent.showSemester = false;\n+\t\t\tcomponent.dispatchEvent(new CustomEvent('d2l-enrollment-card-presentation-change', {","path":"test/d2l-enrollment-card/d2l-enrollment-card.js","position":144,"original_position":144,"commit_id":"b9671a248d41fa732bfa2a723042d6880d4be813","original_commit_id":"b9671a248d41fa732bfa2a723042d6880d4be813","user":{"login":"m6jones","id":13232226,"node_id":"MDQ6VXNlcjEzMjMyMjI2","avatar_url":"https://avatars1.githubusercontent.com/u/13232226?v=4","gravatar_id":"","url":"https://api.github.com/users/m6jones","html_url":"https://github.com/m6jones","followers_url":"https://api.github.com/users/m6jones/followers","following_url":"https://api.github.com/users/m6jones/following{/other_user}","gists_url":"https://api.github.com/users/m6jones/gists{/gist_id}","starred_url":"https://api.github.com/users/m6jones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m6jones/subscriptions","organizations_url":"https://api.github.com/users/m6jones/orgs","repos_url":"https://api.github.com/users/m6jones/repos","events_url":"https://api.github.com/users/m6jones/events{/privacy}","received_events_url":"https://api.github.com/users/m6jones/received_events","type":"User","site_admin":false},"body":"Whoops, that was put in when I was trying to find a solution. I found a far better one.","created_at":"2018-07-23T17:43:44Z","updated_at":"2018-07-23T17:43:44Z","html_url":"https://github.com/BrightspaceHypermediaComponents/enrollments/pull/2#discussion_r204494620","pull_request_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/pulls/comments/204494620"},"html":{"href":"https://github.com/BrightspaceHypermediaComponents/enrollments/pull/2#discussion_r204494620"},"pull_request":{"href":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/pulls/2"}},"in_reply_to_id":204448673},"pull_request":{"url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/pulls/2","id":202920791,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyOTIwNzkx","html_url":"https://github.com/BrightspaceHypermediaComponents/enrollments/pull/2","diff_url":"https://github.com/BrightspaceHypermediaComponents/enrollments/pull/2.diff","patch_url":"https://github.com/BrightspaceHypermediaComponents/enrollments/pull/2.patch","issue_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/issues/2","number":2,"state":"open","locked":false,"title":"Majones/us98454/covert d2l enrollment card to entity driven component","user":{"login":"m6jones","id":13232226,"node_id":"MDQ6VXNlcjEzMjMyMjI2","avatar_url":"https://avatars1.githubusercontent.com/u/13232226?v=4","gravatar_id":"","url":"https://api.github.com/users/m6jones","html_url":"https://github.com/m6jones","followers_url":"https://api.github.com/users/m6jones/followers","following_url":"https://api.github.com/users/m6jones/following{/other_user}","gists_url":"https://api.github.com/users/m6jones/gists{/gist_id}","starred_url":"https://api.github.com/users/m6jones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m6jones/subscriptions","organizations_url":"https://api.github.com/users/m6jones/orgs","repos_url":"https://api.github.com/users/m6jones/repos","events_url":"https://api.github.com/users/m6jones/events{/privacy}","received_events_url":"https://api.github.com/users/m6jones/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-20T18:14:39Z","updated_at":"2018-07-23T17:43:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3b07bc7eea0e223300d6ee74380c63c616ab34ea","assignee":null,"assignees":[],"requested_reviewers":[{"login":"njostonehouse","id":5035319,"node_id":"MDQ6VXNlcjUwMzUzMTk=","avatar_url":"https://avatars1.githubusercontent.com/u/5035319?v=4","gravatar_id":"","url":"https://api.github.com/users/njostonehouse","html_url":"https://github.com/njostonehouse","followers_url":"https://api.github.com/users/njostonehouse/followers","following_url":"https://api.github.com/users/njostonehouse/following{/other_user}","gists_url":"https://api.github.com/users/njostonehouse/gists{/gist_id}","starred_url":"https://api.github.com/users/njostonehouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njostonehouse/subscriptions","organizations_url":"https://api.github.com/users/njostonehouse/orgs","repos_url":"https://api.github.com/users/njostonehouse/repos","events_url":"https://api.github.com/users/njostonehouse/events{/privacy}","received_events_url":"https://api.github.com/users/njostonehouse/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/pulls/2/commits","review_comments_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/pulls/2/comments","review_comment_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/issues/2/comments","statuses_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/statuses/b9671a248d41fa732bfa2a723042d6880d4be813","head":{"label":"BrightspaceHypermediaComponents:majones/us98454/covertD2lEnrollmentCardToEntityDrivenComponent","ref":"majones/us98454/covertD2lEnrollmentCardToEntityDrivenComponent","sha":"b9671a248d41fa732bfa2a723042d6880d4be813","user":{"login":"BrightspaceHypermediaComponents","id":38923320,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4OTIzMzIw","avatar_url":"https://avatars0.githubusercontent.com/u/38923320?v=4","gravatar_id":"","url":"https://api.github.com/users/BrightspaceHypermediaComponents","html_url":"https://github.com/BrightspaceHypermediaComponents","followers_url":"https://api.github.com/users/BrightspaceHypermediaComponents/followers","following_url":"https://api.github.com/users/BrightspaceHypermediaComponents/following{/other_user}","gists_url":"https://api.github.com/users/BrightspaceHypermediaComponents/gists{/gist_id}","starred_url":"https://api.github.com/users/BrightspaceHypermediaComponents/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrightspaceHypermediaComponents/subscriptions","organizations_url":"https://api.github.com/users/BrightspaceHypermediaComponents/orgs","repos_url":"https://api.github.com/users/BrightspaceHypermediaComponents/repos","events_url":"https://api.github.com/users/BrightspaceHypermediaComponents/events{/privacy}","received_events_url":"https://api.github.com/users/BrightspaceHypermediaComponents/received_events","type":"Organization","site_admin":false},"repo":{"id":141327549,"node_id":"MDEwOlJlcG9zaXRvcnkxNDEzMjc1NDk=","name":"enrollments","full_name":"BrightspaceHypermediaComponents/enrollments","owner":{"login":"BrightspaceHypermediaComponents","id":38923320,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4OTIzMzIw","avatar_url":"https://avatars0.githubusercontent.com/u/38923320?v=4","gravatar_id":"","url":"https://api.github.com/users/BrightspaceHypermediaComponents","html_url":"https://github.com/BrightspaceHypermediaComponents","followers_url":"https://api.github.com/users/BrightspaceHypermediaComponents/followers","following_url":"https://api.github.com/users/BrightspaceHypermediaComponents/following{/other_user}","gists_url":"https://api.github.com/users/BrightspaceHypermediaComponents/gists{/gist_id}","starred_url":"https://api.github.com/users/BrightspaceHypermediaComponents/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrightspaceHypermediaComponents/subscriptions","organizations_url":"https://api.github.com/users/BrightspaceHypermediaComponents/orgs","repos_url":"https://api.github.com/users/BrightspaceHypermediaComponents/repos","events_url":"https://api.github.com/users/BrightspaceHypermediaComponents/events{/privacy}","received_events_url":"https://api.github.com/users/BrightspaceHypermediaComponents/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BrightspaceHypermediaComponents/enrollments","description":null,"fork":false,"url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments","forks_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/forks","keys_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/teams","hooks_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/hooks","issue_events_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/issues/events{/number}","events_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/events","assignees_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/assignees{/user}","branches_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/branches{/branch}","tags_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/tags","blobs_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/git/refs{/sha}","trees_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/statuses/{sha}","languages_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/languages","stargazers_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/stargazers","contributors_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/contributors","subscribers_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/subscribers","subscription_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/subscription","commits_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/commits{/sha}","git_commits_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/git/commits{/sha}","comments_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/comments{/number}","issue_comment_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/issues/comments{/number}","contents_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/contents/{+path}","compare_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/merges","archive_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/downloads","issues_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/issues{/number}","pulls_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/pulls{/number}","milestones_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/milestones{/number}","notifications_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/labels{/name}","releases_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/releases{/id}","deployments_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/deployments","created_at":"2018-07-17T18:20:34Z","updated_at":"2018-07-19T17:07:30Z","pushed_at":"2018-07-23T14:00:29Z","git_url":"git://github.com/BrightspaceHypermediaComponents/enrollments.git","ssh_url":"git@github.com:BrightspaceHypermediaComponents/enrollments.git","clone_url":"https://github.com/BrightspaceHypermediaComponents/enrollments.git","svn_url":"https://github.com/BrightspaceHypermediaComponents/enrollments","homepage":null,"size":34,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"BrightspaceHypermediaComponents:hybrid","ref":"hybrid","sha":"0041ca5c9bd1b781443d8cf5b6853819c9014085","user":{"login":"BrightspaceHypermediaComponents","id":38923320,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4OTIzMzIw","avatar_url":"https://avatars0.githubusercontent.com/u/38923320?v=4","gravatar_id":"","url":"https://api.github.com/users/BrightspaceHypermediaComponents","html_url":"https://github.com/BrightspaceHypermediaComponents","followers_url":"https://api.github.com/users/BrightspaceHypermediaComponents/followers","following_url":"https://api.github.com/users/BrightspaceHypermediaComponents/following{/other_user}","gists_url":"https://api.github.com/users/BrightspaceHypermediaComponents/gists{/gist_id}","starred_url":"https://api.github.com/users/BrightspaceHypermediaComponents/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrightspaceHypermediaComponents/subscriptions","organizations_url":"https://api.github.com/users/BrightspaceHypermediaComponents/orgs","repos_url":"https://api.github.com/users/BrightspaceHypermediaComponents/repos","events_url":"https://api.github.com/users/BrightspaceHypermediaComponents/events{/privacy}","received_events_url":"https://api.github.com/users/BrightspaceHypermediaComponents/received_events","type":"Organization","site_admin":false},"repo":{"id":141327549,"node_id":"MDEwOlJlcG9zaXRvcnkxNDEzMjc1NDk=","name":"enrollments","full_name":"BrightspaceHypermediaComponents/enrollments","owner":{"login":"BrightspaceHypermediaComponents","id":38923320,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4OTIzMzIw","avatar_url":"https://avatars0.githubusercontent.com/u/38923320?v=4","gravatar_id":"","url":"https://api.github.com/users/BrightspaceHypermediaComponents","html_url":"https://github.com/BrightspaceHypermediaComponents","followers_url":"https://api.github.com/users/BrightspaceHypermediaComponents/followers","following_url":"https://api.github.com/users/BrightspaceHypermediaComponents/following{/other_user}","gists_url":"https://api.github.com/users/BrightspaceHypermediaComponents/gists{/gist_id}","starred_url":"https://api.github.com/users/BrightspaceHypermediaComponents/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrightspaceHypermediaComponents/subscriptions","organizations_url":"https://api.github.com/users/BrightspaceHypermediaComponents/orgs","repos_url":"https://api.github.com/users/BrightspaceHypermediaComponents/repos","events_url":"https://api.github.com/users/BrightspaceHypermediaComponents/events{/privacy}","received_events_url":"https://api.github.com/users/BrightspaceHypermediaComponents/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BrightspaceHypermediaComponents/enrollments","description":null,"fork":false,"url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments","forks_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/forks","keys_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/teams","hooks_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/hooks","issue_events_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/issues/events{/number}","events_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/events","assignees_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/assignees{/user}","branches_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/branches{/branch}","tags_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/tags","blobs_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/git/refs{/sha}","trees_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/statuses/{sha}","languages_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/languages","stargazers_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/stargazers","contributors_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/contributors","subscribers_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/subscribers","subscription_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/subscription","commits_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/commits{/sha}","git_commits_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/git/commits{/sha}","comments_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/comments{/number}","issue_comment_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/issues/comments{/number}","contents_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/contents/{+path}","compare_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/merges","archive_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/downloads","issues_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/issues{/number}","pulls_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/pulls{/number}","milestones_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/milestones{/number}","notifications_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/labels{/name}","releases_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/releases{/id}","deployments_url":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/deployments","created_at":"2018-07-17T18:20:34Z","updated_at":"2018-07-19T17:07:30Z","pushed_at":"2018-07-23T14:00:29Z","git_url":"git://github.com/BrightspaceHypermediaComponents/enrollments.git","ssh_url":"git@github.com:BrightspaceHypermediaComponents/enrollments.git","clone_url":"https://github.com/BrightspaceHypermediaComponents/enrollments.git","svn_url":"https://github.com/BrightspaceHypermediaComponents/enrollments","homepage":null,"size":34,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/pulls/2"},"html":{"href":"https://github.com/BrightspaceHypermediaComponents/enrollments/pull/2"},"issue":{"href":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/issues/2"},"comments":{"href":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/BrightspaceHypermediaComponents/enrollments/statuses/b9671a248d41fa732bfa2a723042d6880d4be813"}},"author_association":"NONE"}}
{"actor":{"display_login":"m6jones"}}