{"action":"created","comment":{"url":"https://api.github.com/repos/toggl/mobileapp/pulls/comments/232183461","pull_request_review_id":173324250,"id":232183461,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjE4MzQ2MQ==","diff_hunk":"@@ -0,0 +1,170 @@\n+﻿using System;\n+using System.Linq;\n+using System.Reactive.Linq;\n+using System.Threading.Tasks;\n+using FluentAssertions;\n+using Toggl.Foundation.Exceptions;\n+using Toggl.Foundation.Sync.Tests.Extensions;\n+using Toggl.Foundation.Sync.Tests.Helpers;\n+using Toggl.Foundation.Sync.Tests.State;\n+using Toggl.Foundation.Tests.Mocks;\n+using Toggl.PrimeRadiant;\n+using System.Collections.Generic;\n+using Toggl.Multivac;\n+using Toggl.Ultrawave.Helpers;\n+using Toggl.PrimeRadiant.Models;\n+\n+namespace Toggl.Foundation.Sync.Tests.GainingAccessToWorkspace\n+{\n+    public sealed class FetchesEntitiesOlderThanSinceDate : BaseComplexSyncTest\n+    {\n+        protected override ServerState ArrangeServerState(ServerState initialServerState)\n+            => initialServerState.With(\n+                clients: new[] { new MockClient { Id = -1, WorkspaceId = -2, Name = \"c1\" } },\n+                tags: new[] {","path":"Toggl.Foundation.Sync.Tests/GainingAccessToWorkspace/FetchesEntitiesOlderThanSinceDate.cs","position":24,"original_position":24,"commit_id":"4e7091b4ed887313d279c3c017f41d4a00b1f93e","original_commit_id":"4e7091b4ed887313d279c3c017f41d4a00b1f93e","user":{"login":"simonrozsival","id":374616,"node_id":"MDQ6VXNlcjM3NDYxNg==","avatar_url":"https://avatars0.githubusercontent.com/u/374616?v=4","gravatar_id":"","url":"https://api.github.com/users/simonrozsival","html_url":"https://github.com/simonrozsival","followers_url":"https://api.github.com/users/simonrozsival/followers","following_url":"https://api.github.com/users/simonrozsival/following{/other_user}","gists_url":"https://api.github.com/users/simonrozsival/gists{/gist_id}","starred_url":"https://api.github.com/users/simonrozsival/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonrozsival/subscriptions","organizations_url":"https://api.github.com/users/simonrozsival/orgs","repos_url":"https://api.github.com/users/simonrozsival/repos","events_url":"https://api.github.com/users/simonrozsival/events{/privacy}","received_events_url":"https://api.github.com/users/simonrozsival/received_events","type":"User","site_admin":false},"body":"No Egyptian please! 😱 ","created_at":"2018-11-09T09:10:23Z","updated_at":"2018-11-09T09:15:49Z","html_url":"https://github.com/toggl/mobileapp/pull/3701#discussion_r232183461","pull_request_url":"https://api.github.com/repos/toggl/mobileapp/pulls/3701","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/toggl/mobileapp/pulls/comments/232183461"},"html":{"href":"https://github.com/toggl/mobileapp/pull/3701#discussion_r232183461"},"pull_request":{"href":"https://api.github.com/repos/toggl/mobileapp/pulls/3701"}}},"pull_request":{"url":"https://api.github.com/repos/toggl/mobileapp/pulls/3701","id":229508120,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5NTA4MTIw","html_url":"https://github.com/toggl/mobileapp/pull/3701","diff_url":"https://github.com/toggl/mobileapp/pull/3701.diff","patch_url":"https://github.com/toggl/mobileapp/pull/3701.patch","issue_url":"https://api.github.com/repos/toggl/mobileapp/issues/3701","number":3701,"state":"open","locked":false,"title":"🆙Gaining access to workspace","user":{"login":"sofokli1","id":885122,"node_id":"MDQ6VXNlcjg4NTEyMg==","avatar_url":"https://avatars0.githubusercontent.com/u/885122?v=4","gravatar_id":"","url":"https://api.github.com/users/sofokli1","html_url":"https://github.com/sofokli1","followers_url":"https://api.github.com/users/sofokli1/followers","following_url":"https://api.github.com/users/sofokli1/following{/other_user}","gists_url":"https://api.github.com/users/sofokli1/gists{/gist_id}","starred_url":"https://api.github.com/users/sofokli1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sofokli1/subscriptions","organizations_url":"https://api.github.com/users/sofokli1/orgs","repos_url":"https://api.github.com/users/sofokli1/repos","events_url":"https://api.github.com/users/sofokli1/events{/privacy}","received_events_url":"https://api.github.com/users/sofokli1/received_events","type":"User","site_admin":false},"body":"## What's this?\r\nAdds some sync tests to test gaining and regaining access to a workspace\r\n\r\n### Relationships\r\nCloses #3395\r\n\r\n## Why do we want this?\r\nThe use of tests should be obvious to all of us.\r\n\r\n## How is it done?\r\nI created a 3 tests based on the `BaseComplexSyncTest`.\r\n\r\n### Why not another way?\r\nThis is the way.\r\n\r\n### Side effects\r\nnone\r\n\r\n## Review hints\r\nThere is still an issue with the `tasks`.\r\n\r\n## :squid: Permissions\r\n:squid: when all green","created_at":"2018-11-08T21:04:47Z","updated_at":"2018-11-09T09:15:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"33d03d294a216df48c1fe34970145c13dd61b56a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":949114243,"node_id":"MDU6TGFiZWw5NDkxMTQyNDM=","url":"https://api.github.com/repos/toggl/mobileapp/labels/sync","name":"sync","color":"9401bc","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/toggl/mobileapp/pulls/3701/commits","review_comments_url":"https://api.github.com/repos/toggl/mobileapp/pulls/3701/comments","review_comment_url":"https://api.github.com/repos/toggl/mobileapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/toggl/mobileapp/issues/3701/comments","statuses_url":"https://api.github.com/repos/toggl/mobileapp/statuses/4e7091b4ed887313d279c3c017f41d4a00b1f93e","head":{"label":"toggl:new-gain-access-ws-test","ref":"new-gain-access-ws-test","sha":"4e7091b4ed887313d279c3c017f41d4a00b1f93e","user":{"login":"toggl","id":316475,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNjQ3NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/316475?v=4","gravatar_id":"","url":"https://api.github.com/users/toggl","html_url":"https://github.com/toggl","followers_url":"https://api.github.com/users/toggl/followers","following_url":"https://api.github.com/users/toggl/following{/other_user}","gists_url":"https://api.github.com/users/toggl/gists{/gist_id}","starred_url":"https://api.github.com/users/toggl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toggl/subscriptions","organizations_url":"https://api.github.com/users/toggl/orgs","repos_url":"https://api.github.com/users/toggl/repos","events_url":"https://api.github.com/users/toggl/events{/privacy}","received_events_url":"https://api.github.com/users/toggl/received_events","type":"Organization","site_admin":false},"repo":{"id":87079363,"node_id":"MDEwOlJlcG9zaXRvcnk4NzA3OTM2Mw==","name":"mobileapp","full_name":"toggl/mobileapp","private":false,"owner":{"login":"toggl","id":316475,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNjQ3NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/316475?v=4","gravatar_id":"","url":"https://api.github.com/users/toggl","html_url":"https://github.com/toggl","followers_url":"https://api.github.com/users/toggl/followers","following_url":"https://api.github.com/users/toggl/following{/other_user}","gists_url":"https://api.github.com/users/toggl/gists{/gist_id}","starred_url":"https://api.github.com/users/toggl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toggl/subscriptions","organizations_url":"https://api.github.com/users/toggl/orgs","repos_url":"https://api.github.com/users/toggl/repos","events_url":"https://api.github.com/users/toggl/events{/privacy}","received_events_url":"https://api.github.com/users/toggl/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/toggl/mobileapp","description":"Toggl's mobile apps","fork":false,"url":"https://api.github.com/repos/toggl/mobileapp","forks_url":"https://api.github.com/repos/toggl/mobileapp/forks","keys_url":"https://api.github.com/repos/toggl/mobileapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/toggl/mobileapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/toggl/mobileapp/teams","hooks_url":"https://api.github.com/repos/toggl/mobileapp/hooks","issue_events_url":"https://api.github.com/repos/toggl/mobileapp/issues/events{/number}","events_url":"https://api.github.com/repos/toggl/mobileapp/events","assignees_url":"https://api.github.com/repos/toggl/mobileapp/assignees{/user}","branches_url":"https://api.github.com/repos/toggl/mobileapp/branches{/branch}","tags_url":"https://api.github.com/repos/toggl/mobileapp/tags","blobs_url":"https://api.github.com/repos/toggl/mobileapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/toggl/mobileapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/toggl/mobileapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/toggl/mobileapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/toggl/mobileapp/statuses/{sha}","languages_url":"https://api.github.com/repos/toggl/mobileapp/languages","stargazers_url":"https://api.github.com/repos/toggl/mobileapp/stargazers","contributors_url":"https://api.github.com/repos/toggl/mobileapp/contributors","subscribers_url":"https://api.github.com/repos/toggl/mobileapp/subscribers","subscription_url":"https://api.github.com/repos/toggl/mobileapp/subscription","commits_url":"https://api.github.com/repos/toggl/mobileapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/toggl/mobileapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/toggl/mobileapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/toggl/mobileapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/toggl/mobileapp/contents/{+path}","compare_url":"https://api.github.com/repos/toggl/mobileapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/toggl/mobileapp/merges","archive_url":"https://api.github.com/repos/toggl/mobileapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/toggl/mobileapp/downloads","issues_url":"https://api.github.com/repos/toggl/mobileapp/issues{/number}","pulls_url":"https://api.github.com/repos/toggl/mobileapp/pulls{/number}","milestones_url":"https://api.github.com/repos/toggl/mobileapp/milestones{/number}","notifications_url":"https://api.github.com/repos/toggl/mobileapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/toggl/mobileapp/labels{/name}","releases_url":"https://api.github.com/repos/toggl/mobileapp/releases{/id}","deployments_url":"https://api.github.com/repos/toggl/mobileapp/deployments","created_at":"2017-04-03T13:48:06Z","updated_at":"2018-11-09T08:46:18Z","pushed_at":"2018-11-09T09:06:40Z","git_url":"git://github.com/toggl/mobileapp.git","ssh_url":"git@github.com:toggl/mobileapp.git","clone_url":"https://github.com/toggl/mobileapp.git","svn_url":"https://github.com/toggl/mobileapp","homepage":"","size":26641,"stargazers_count":94,"watchers_count":94,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"archived":false,"open_issues_count":213,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":30,"open_issues":213,"watchers":94,"default_branch":"develop"}},"base":{"label":"toggl:develop","ref":"develop","sha":"34816c1ce369268582fa9d5d1a7b6b13050da862","user":{"login":"toggl","id":316475,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNjQ3NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/316475?v=4","gravatar_id":"","url":"https://api.github.com/users/toggl","html_url":"https://github.com/toggl","followers_url":"https://api.github.com/users/toggl/followers","following_url":"https://api.github.com/users/toggl/following{/other_user}","gists_url":"https://api.github.com/users/toggl/gists{/gist_id}","starred_url":"https://api.github.com/users/toggl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toggl/subscriptions","organizations_url":"https://api.github.com/users/toggl/orgs","repos_url":"https://api.github.com/users/toggl/repos","events_url":"https://api.github.com/users/toggl/events{/privacy}","received_events_url":"https://api.github.com/users/toggl/received_events","type":"Organization","site_admin":false},"repo":{"id":87079363,"node_id":"MDEwOlJlcG9zaXRvcnk4NzA3OTM2Mw==","name":"mobileapp","full_name":"toggl/mobileapp","private":false,"owner":{"login":"toggl","id":316475,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNjQ3NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/316475?v=4","gravatar_id":"","url":"https://api.github.com/users/toggl","html_url":"https://github.com/toggl","followers_url":"https://api.github.com/users/toggl/followers","following_url":"https://api.github.com/users/toggl/following{/other_user}","gists_url":"https://api.github.com/users/toggl/gists{/gist_id}","starred_url":"https://api.github.com/users/toggl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toggl/subscriptions","organizations_url":"https://api.github.com/users/toggl/orgs","repos_url":"https://api.github.com/users/toggl/repos","events_url":"https://api.github.com/users/toggl/events{/privacy}","received_events_url":"https://api.github.com/users/toggl/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/toggl/mobileapp","description":"Toggl's mobile apps","fork":false,"url":"https://api.github.com/repos/toggl/mobileapp","forks_url":"https://api.github.com/repos/toggl/mobileapp/forks","keys_url":"https://api.github.com/repos/toggl/mobileapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/toggl/mobileapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/toggl/mobileapp/teams","hooks_url":"https://api.github.com/repos/toggl/mobileapp/hooks","issue_events_url":"https://api.github.com/repos/toggl/mobileapp/issues/events{/number}","events_url":"https://api.github.com/repos/toggl/mobileapp/events","assignees_url":"https://api.github.com/repos/toggl/mobileapp/assignees{/user}","branches_url":"https://api.github.com/repos/toggl/mobileapp/branches{/branch}","tags_url":"https://api.github.com/repos/toggl/mobileapp/tags","blobs_url":"https://api.github.com/repos/toggl/mobileapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/toggl/mobileapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/toggl/mobileapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/toggl/mobileapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/toggl/mobileapp/statuses/{sha}","languages_url":"https://api.github.com/repos/toggl/mobileapp/languages","stargazers_url":"https://api.github.com/repos/toggl/mobileapp/stargazers","contributors_url":"https://api.github.com/repos/toggl/mobileapp/contributors","subscribers_url":"https://api.github.com/repos/toggl/mobileapp/subscribers","subscription_url":"https://api.github.com/repos/toggl/mobileapp/subscription","commits_url":"https://api.github.com/repos/toggl/mobileapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/toggl/mobileapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/toggl/mobileapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/toggl/mobileapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/toggl/mobileapp/contents/{+path}","compare_url":"https://api.github.com/repos/toggl/mobileapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/toggl/mobileapp/merges","archive_url":"https://api.github.com/repos/toggl/mobileapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/toggl/mobileapp/downloads","issues_url":"https://api.github.com/repos/toggl/mobileapp/issues{/number}","pulls_url":"https://api.github.com/repos/toggl/mobileapp/pulls{/number}","milestones_url":"https://api.github.com/repos/toggl/mobileapp/milestones{/number}","notifications_url":"https://api.github.com/repos/toggl/mobileapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/toggl/mobileapp/labels{/name}","releases_url":"https://api.github.com/repos/toggl/mobileapp/releases{/id}","deployments_url":"https://api.github.com/repos/toggl/mobileapp/deployments","created_at":"2017-04-03T13:48:06Z","updated_at":"2018-11-09T08:46:18Z","pushed_at":"2018-11-09T09:06:40Z","git_url":"git://github.com/toggl/mobileapp.git","ssh_url":"git@github.com:toggl/mobileapp.git","clone_url":"https://github.com/toggl/mobileapp.git","svn_url":"https://github.com/toggl/mobileapp","homepage":"","size":26641,"stargazers_count":94,"watchers_count":94,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"archived":false,"open_issues_count":213,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":30,"open_issues":213,"watchers":94,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/toggl/mobileapp/pulls/3701"},"html":{"href":"https://github.com/toggl/mobileapp/pull/3701"},"issue":{"href":"https://api.github.com/repos/toggl/mobileapp/issues/3701"},"comments":{"href":"https://api.github.com/repos/toggl/mobileapp/issues/3701/comments"},"review_comments":{"href":"https://api.github.com/repos/toggl/mobileapp/pulls/3701/comments"},"review_comment":{"href":"https://api.github.com/repos/toggl/mobileapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/toggl/mobileapp/pulls/3701/commits"},"statuses":{"href":"https://api.github.com/repos/toggl/mobileapp/statuses/4e7091b4ed887313d279c3c017f41d4a00b1f93e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"simonrozsival"}}