From 98b444c1feb43612371e97913adefd8abb2ae89e Mon Sep 17 00:00:00 2001 From: Adela Homolova Date: Tue, 26 Nov 2019 22:37:20 +0100 Subject: [PATCH] fix: revert changes and fix tests --- .../gitHubServiceMockFolder/getPullServiceResponse.mock.ts | 4 ++-- .../gitHubServiceMockFolder/getPullsServiceResponse.mock.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/services/git/__MOCKS__/gitHubServiceMockFolder/getPullServiceResponse.mock.ts b/src/services/git/__MOCKS__/gitHubServiceMockFolder/getPullServiceResponse.mock.ts index 6efc602c1..bfe0a105c 100644 --- a/src/services/git/__MOCKS__/gitHubServiceMockFolder/getPullServiceResponse.mock.ts +++ b/src/services/git/__MOCKS__/gitHubServiceMockFolder/getPullServiceResponse.mock.ts @@ -15,11 +15,11 @@ export const getPullServiceResponse: PullRequest = { }, body: '', closedAt: '2011-01-26T19:01:12Z', - createdAt: '2011-01-26T19:01:12Z', + createdAt: '2012-03-06T23:06:50Z', id: 1, mergedAt: '2011-01-26T19:01:12Z', state: 'closed', - updatedAt: '2011-01-26T19:01:12Z', + updatedAt: '2012-03-06T23:06:50Z', url: 'https://api.github.com/repos/octocat/Hello-World/pulls/1', user: { id: '583231', login: 'octocat', url: 'https://api.github.com/users/octocat' }, }; diff --git a/src/services/git/__MOCKS__/gitHubServiceMockFolder/getPullsServiceResponse.mock.ts b/src/services/git/__MOCKS__/gitHubServiceMockFolder/getPullsServiceResponse.mock.ts index 2a97899fd..98f60c4a2 100644 --- a/src/services/git/__MOCKS__/gitHubServiceMockFolder/getPullsServiceResponse.mock.ts +++ b/src/services/git/__MOCKS__/gitHubServiceMockFolder/getPullsServiceResponse.mock.ts @@ -20,11 +20,11 @@ export const getPullsServiceResponse: Paginated = { }, body: 'Please pull these awesome changes', closedAt: '2011-01-26T19:01:12Z', - createdAt: '2011-01-26T19:01:12Z', + createdAt: '2012-03-06T23:06:50Z', id: 1, mergedAt: '2011-01-26T19:01:12Z', state: 'open', - updatedAt: '2011-01-26T19:01:12Z', + updatedAt: '2012-03-06T23:06:50Z', url: 'https://api.github.com/repos/octocat/Hello-World/pulls/1347', user: { id: '1', login: 'octocat', url: 'https://api.github.com/users/octocat' }, },