{"action":"created","comment":{"url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/pulls/comments/236061643","pull_request_review_id":178070342,"id":236061643,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNjA2MTY0Mw==","diff_hunk":"@@ -0,0 +1,158 @@\n+import CoreData\n+import XCTest\n+@testable import The_Blue_Alliance\n+\n+class MyTBATableViewControllerTests: TBATestCase {\n+\n+    let myTBA = MockMyTBA()\n+    var myTBATableViewController: MyTBATableViewController<Favorite, MyTBAFavorite>!\n+    var viewControllerTester: TBAViewControllerTester<MyTBATableViewController<Favorite, MyTBAFavorite>>!\n+\n+    override func setUp() {\n+        super.setUp()\n+\n+        myTBATableViewController = MyTBATableViewController<Favorite, MyTBAFavorite>(persistentContainer: persistentContainer, myTBA: myTBA, tbaKit: tbaKit, userDefaults: userDefaults)\n+\n+        viewControllerTester = TBAViewControllerTester(withViewController: myTBATableViewController)\n+    }\n+\n+    override func tearDown() {\n+        viewControllerTester = nil\n+        myTBATableViewController = nil\n+\n+        super.tearDown()\n+    }\n+\n+    func test_snapshot() {\n+        // TODO: We're going to have to build out a test harness for the MyTBA methods...\n+        verifyLayer(viewControllerTester.window.layer)\n+    }\n+\n+    func test_refresh() {\n+        let mockMyTBATableViewController = MockMyTBATableViewController<Favorite, MyTBAFavorite>(persistentContainer: persistentContainer, myTBA: myTBA, tbaKit: tbaKit, userDefaults: userDefaults)\n+\n+        let fetchEventExpectation = expectation(description: \"Fetch event called\")\n+        mockMyTBATableViewController.fetchEventExpectation = fetchEventExpectation\n+        let fetchTeamExpectation = expectation(description: \"Fetch team called\")\n+        mockMyTBATableViewController.fetchTeamExpectation = fetchTeamExpectation\n+        let fetchMatchExpectation = expectation(description: \"Fetch match called\")\n+        mockMyTBATableViewController.fetchMatchExpectation = fetchMatchExpectation\n+\n+        // TODO: Test removeNoDataView","path":"tba-unit-tests/View Controllers/myTBA/MyTBATableViewControllerTests.swift","position":41,"original_position":41,"commit_id":"c7c0b168c7ac2ec149ec675be7a49a53bd49596f","original_commit_id":"c7c0b168c7ac2ec149ec675be7a49a53bd49596f","user":{"login":"ZachOrr","id":516458,"node_id":"MDQ6VXNlcjUxNjQ1OA==","avatar_url":"https://avatars2.githubusercontent.com/u/516458?v=4","gravatar_id":"","url":"https://api.github.com/users/ZachOrr","html_url":"https://github.com/ZachOrr","followers_url":"https://api.github.com/users/ZachOrr/followers","following_url":"https://api.github.com/users/ZachOrr/following{/other_user}","gists_url":"https://api.github.com/users/ZachOrr/gists{/gist_id}","starred_url":"https://api.github.com/users/ZachOrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZachOrr/subscriptions","organizations_url":"https://api.github.com/users/ZachOrr/orgs","repos_url":"https://api.github.com/users/ZachOrr/repos","events_url":"https://api.github.com/users/ZachOrr/events{/privacy}","received_events_url":"https://api.github.com/users/ZachOrr/received_events","type":"User","site_admin":false},"body":"TODO","created_at":"2018-11-25T06:13:58Z","updated_at":"2018-11-25T06:13:58Z","html_url":"https://github.com/the-blue-alliance/the-blue-alliance-ios/pull/301#discussion_r236061643","pull_request_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/pulls/301","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/pulls/comments/236061643"},"html":{"href":"https://github.com/the-blue-alliance/the-blue-alliance-ios/pull/301#discussion_r236061643"},"pull_request":{"href":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/pulls/301"}}},"pull_request":{"url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/pulls/301","id":232847400,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyODQ3NDAw","html_url":"https://github.com/the-blue-alliance/the-blue-alliance-ios/pull/301","diff_url":"https://github.com/the-blue-alliance/the-blue-alliance-ios/pull/301.diff","patch_url":"https://github.com/the-blue-alliance/the-blue-alliance-ios/pull/301.patch","issue_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/issues/301","number":301,"state":"open","locked":false,"title":"Add methods to fetch and insert bulk MyTBA objects","user":{"login":"ZachOrr","id":516458,"node_id":"MDQ6VXNlcjUxNjQ1OA==","avatar_url":"https://avatars2.githubusercontent.com/u/516458?v=4","gravatar_id":"","url":"https://api.github.com/users/ZachOrr","html_url":"https://github.com/ZachOrr","followers_url":"https://api.github.com/users/ZachOrr/followers","following_url":"https://api.github.com/users/ZachOrr/following{/other_user}","gists_url":"https://api.github.com/users/ZachOrr/gists{/gist_id}","starred_url":"https://api.github.com/users/ZachOrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZachOrr/subscriptions","organizations_url":"https://api.github.com/users/ZachOrr/orgs","repos_url":"https://api.github.com/users/ZachOrr/repos","events_url":"https://api.github.com/users/ZachOrr/events{/privacy}","received_events_url":"https://api.github.com/users/ZachOrr/received_events","type":"User","site_admin":false},"body":"- [x] https://github.com/the-blue-alliance/the-blue-alliance-ios/pull/301#issuecomment-441098987","created_at":"2018-11-22T03:05:11Z","updated_at":"2018-11-25T06:13:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8df7c9fed6a676dd9c7b048ff4bbc3ba40e716b0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/pulls/301/commits","review_comments_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/pulls/301/comments","review_comment_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/pulls/comments{/number}","comments_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/issues/301/comments","statuses_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/statuses/c7c0b168c7ac2ec149ec675be7a49a53bd49596f","head":{"label":"the-blue-alliance:zorr/fetch-mytba-objects","ref":"zorr/fetch-mytba-objects","sha":"c7c0b168c7ac2ec149ec675be7a49a53bd49596f","user":{"login":"the-blue-alliance","id":7354965,"node_id":"MDEyOk9yZ2FuaXphdGlvbjczNTQ5NjU=","avatar_url":"https://avatars0.githubusercontent.com/u/7354965?v=4","gravatar_id":"","url":"https://api.github.com/users/the-blue-alliance","html_url":"https://github.com/the-blue-alliance","followers_url":"https://api.github.com/users/the-blue-alliance/followers","following_url":"https://api.github.com/users/the-blue-alliance/following{/other_user}","gists_url":"https://api.github.com/users/the-blue-alliance/gists{/gist_id}","starred_url":"https://api.github.com/users/the-blue-alliance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-blue-alliance/subscriptions","organizations_url":"https://api.github.com/users/the-blue-alliance/orgs","repos_url":"https://api.github.com/users/the-blue-alliance/repos","events_url":"https://api.github.com/users/the-blue-alliance/events{/privacy}","received_events_url":"https://api.github.com/users/the-blue-alliance/received_events","type":"Organization","site_admin":false},"repo":{"id":18974950,"node_id":"MDEwOlJlcG9zaXRvcnkxODk3NDk1MA==","name":"the-blue-alliance-ios","full_name":"the-blue-alliance/the-blue-alliance-ios","private":false,"owner":{"login":"the-blue-alliance","id":7354965,"node_id":"MDEyOk9yZ2FuaXphdGlvbjczNTQ5NjU=","avatar_url":"https://avatars0.githubusercontent.com/u/7354965?v=4","gravatar_id":"","url":"https://api.github.com/users/the-blue-alliance","html_url":"https://github.com/the-blue-alliance","followers_url":"https://api.github.com/users/the-blue-alliance/followers","following_url":"https://api.github.com/users/the-blue-alliance/following{/other_user}","gists_url":"https://api.github.com/users/the-blue-alliance/gists{/gist_id}","starred_url":"https://api.github.com/users/the-blue-alliance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-blue-alliance/subscriptions","organizations_url":"https://api.github.com/users/the-blue-alliance/orgs","repos_url":"https://api.github.com/users/the-blue-alliance/repos","events_url":"https://api.github.com/users/the-blue-alliance/events{/privacy}","received_events_url":"https://api.github.com/users/the-blue-alliance/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/the-blue-alliance/the-blue-alliance-ios","description":"An iOS app for accessing information about the FIRST Robotics Competition.","fork":false,"url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios","forks_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/forks","keys_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/teams","hooks_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/hooks","issue_events_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/issues/events{/number}","events_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/events","assignees_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/assignees{/user}","branches_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/branches{/branch}","tags_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/tags","blobs_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/languages","stargazers_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/stargazers","contributors_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/contributors","subscribers_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/subscribers","subscription_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/subscription","commits_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/contents/{+path}","compare_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/merges","archive_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/downloads","issues_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/issues{/number}","pulls_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/labels{/name}","releases_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/releases{/id}","deployments_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/deployments","created_at":"2014-04-20T22:07:09Z","updated_at":"2018-11-25T00:29:33Z","pushed_at":"2018-11-25T06:12:42Z","git_url":"git://github.com/the-blue-alliance/the-blue-alliance-ios.git","ssh_url":"git@github.com:the-blue-alliance/the-blue-alliance-ios.git","clone_url":"https://github.com/the-blue-alliance/the-blue-alliance-ios.git","svn_url":"https://github.com/the-blue-alliance/the-blue-alliance-ios","homepage":null,"size":12548,"stargazers_count":33,"watchers_count":33,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"archived":false,"open_issues_count":59,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":14,"open_issues":59,"watchers":33,"default_branch":"master"}},"base":{"label":"the-blue-alliance:master","ref":"master","sha":"8fa1833f904e816a539a81d5e3dc781d131c5ca6","user":{"login":"the-blue-alliance","id":7354965,"node_id":"MDEyOk9yZ2FuaXphdGlvbjczNTQ5NjU=","avatar_url":"https://avatars0.githubusercontent.com/u/7354965?v=4","gravatar_id":"","url":"https://api.github.com/users/the-blue-alliance","html_url":"https://github.com/the-blue-alliance","followers_url":"https://api.github.com/users/the-blue-alliance/followers","following_url":"https://api.github.com/users/the-blue-alliance/following{/other_user}","gists_url":"https://api.github.com/users/the-blue-alliance/gists{/gist_id}","starred_url":"https://api.github.com/users/the-blue-alliance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-blue-alliance/subscriptions","organizations_url":"https://api.github.com/users/the-blue-alliance/orgs","repos_url":"https://api.github.com/users/the-blue-alliance/repos","events_url":"https://api.github.com/users/the-blue-alliance/events{/privacy}","received_events_url":"https://api.github.com/users/the-blue-alliance/received_events","type":"Organization","site_admin":false},"repo":{"id":18974950,"node_id":"MDEwOlJlcG9zaXRvcnkxODk3NDk1MA==","name":"the-blue-alliance-ios","full_name":"the-blue-alliance/the-blue-alliance-ios","private":false,"owner":{"login":"the-blue-alliance","id":7354965,"node_id":"MDEyOk9yZ2FuaXphdGlvbjczNTQ5NjU=","avatar_url":"https://avatars0.githubusercontent.com/u/7354965?v=4","gravatar_id":"","url":"https://api.github.com/users/the-blue-alliance","html_url":"https://github.com/the-blue-alliance","followers_url":"https://api.github.com/users/the-blue-alliance/followers","following_url":"https://api.github.com/users/the-blue-alliance/following{/other_user}","gists_url":"https://api.github.com/users/the-blue-alliance/gists{/gist_id}","starred_url":"https://api.github.com/users/the-blue-alliance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-blue-alliance/subscriptions","organizations_url":"https://api.github.com/users/the-blue-alliance/orgs","repos_url":"https://api.github.com/users/the-blue-alliance/repos","events_url":"https://api.github.com/users/the-blue-alliance/events{/privacy}","received_events_url":"https://api.github.com/users/the-blue-alliance/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/the-blue-alliance/the-blue-alliance-ios","description":"An iOS app for accessing information about the FIRST Robotics Competition.","fork":false,"url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios","forks_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/forks","keys_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/teams","hooks_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/hooks","issue_events_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/issues/events{/number}","events_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/events","assignees_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/assignees{/user}","branches_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/branches{/branch}","tags_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/tags","blobs_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/languages","stargazers_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/stargazers","contributors_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/contributors","subscribers_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/subscribers","subscription_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/subscription","commits_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/contents/{+path}","compare_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/merges","archive_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/downloads","issues_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/issues{/number}","pulls_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/labels{/name}","releases_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/releases{/id}","deployments_url":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/deployments","created_at":"2014-04-20T22:07:09Z","updated_at":"2018-11-25T00:29:33Z","pushed_at":"2018-11-25T06:12:42Z","git_url":"git://github.com/the-blue-alliance/the-blue-alliance-ios.git","ssh_url":"git@github.com:the-blue-alliance/the-blue-alliance-ios.git","clone_url":"https://github.com/the-blue-alliance/the-blue-alliance-ios.git","svn_url":"https://github.com/the-blue-alliance/the-blue-alliance-ios","homepage":null,"size":12548,"stargazers_count":33,"watchers_count":33,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"archived":false,"open_issues_count":59,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":14,"open_issues":59,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/pulls/301"},"html":{"href":"https://github.com/the-blue-alliance/the-blue-alliance-ios/pull/301"},"issue":{"href":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/issues/301"},"comments":{"href":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/issues/301/comments"},"review_comments":{"href":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/pulls/301/comments"},"review_comment":{"href":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/pulls/301/commits"},"statuses":{"href":"https://api.github.com/repos/the-blue-alliance/the-blue-alliance-ios/statuses/c7c0b168c7ac2ec149ec675be7a49a53bd49596f"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ZachOrr"}}