-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
#74 - AllItemsIntegrationTest: extra tests were added
- Loading branch information
Showing
7 changed files
with
192 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...est/resources/db-rider/hackernews/cron/health-check/all-items/expected/twoActiveItems.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
github_repo_source: | ||
- | ||
github_repo_id: 1 | ||
source: "HACKERNEWS" | ||
external_id: "2222" | ||
- | ||
github_repo_id: 2 | ||
source: "HACKERNEWS" | ||
external_id: "3333" | ||
|
||
hackernews_item: | ||
- | ||
external_id: 2222 | ||
type: story | ||
by: smartmic | ||
title: Title for casbin | ||
url: https://github.com/casbin/casbin | ||
time: 2020-02-14 18:43:33 | ||
deleted: false | ||
- | ||
external_id: 3333 | ||
type: story | ||
by: test-author | ||
title: Title for test-post | ||
url: https://github.com/test/test | ||
time: 2002-02-14 18:43:33 | ||
deleted: false |
29 changes: 29 additions & 0 deletions
29
...st/resources/db-rider/hackernews/cron/health-check/all-items/expected/twoDeletedItems.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
github_repo_source: | ||
- | ||
github_repo_id: 1 | ||
source: "HACKERNEWS" | ||
external_id: "2222" | ||
deleted_at: regex:^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{1,6}$ | ||
- | ||
github_repo_id: 2 | ||
source: "HACKERNEWS" | ||
external_id: "3333" | ||
deleted_at: regex:^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{1,6}$ | ||
|
||
hackernews_item: | ||
- | ||
external_id: 2222 | ||
type: story | ||
by: smartmic | ||
title: Title for casbin | ||
url: https://github.com/casbin/casbin | ||
time: 2009-01-15 05:56:02 | ||
deleted: true | ||
- | ||
external_id: 3333 | ||
type: story | ||
by: smartmic | ||
title: Title for casbin | ||
url: https://github.com/casbin/casbin | ||
time: 2009-01-15 05:56:02 | ||
deleted: true |
47 changes: 47 additions & 0 deletions
47
...test/resources/db-rider/hackernews/cron/health-check/all-items/initial/twoActiveItems.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
github_repo: | ||
- | ||
id: 1 | ||
uuid: "groovy: UUID.randomUUID().toString()" | ||
external_id: 202275988 | ||
full_name: casbin/casbin | ||
html_url: https://github.com/casbin/casbin | ||
repo_created_at: 2019-08-14 04:42:36 | ||
- | ||
id: 2 | ||
uuid: "groovy: UUID.randomUUID().toString()" | ||
external_id: 303123123 | ||
full_name: test/test | ||
html_url: https://github.com/test/test | ||
repo_created_at: 2017-01-03 12:02:11 | ||
|
||
github_repo_source: | ||
- | ||
uuid: "groovy: UUID.randomUUID().toString()" | ||
github_repo_id: 1 | ||
source: "HACKERNEWS" | ||
external_id: "2222" | ||
- | ||
uuid: "groovy: UUID.randomUUID().toString()" | ||
github_repo_id: 2 | ||
source: "HACKERNEWS" | ||
external_id: "3333" | ||
|
||
hackernews_item: | ||
- | ||
uuid: "groovy: UUID.randomUUID().toString()" | ||
external_id: 2222 | ||
type: story | ||
by: smartmic | ||
title: Title for casbin | ||
url: https://github.com/casbin/casbin | ||
time: 2020-02-14 18:43:33 | ||
deleted: false | ||
- | ||
uuid: "groovy: UUID.randomUUID().toString()" | ||
external_id: 3333 | ||
type: story | ||
by: test-author | ||
title: Title for test-post | ||
url: https://github.com/test/test | ||
time: 2002-02-14 18:43:33 | ||
deleted: false |
47 changes: 47 additions & 0 deletions
47
...est/resources/db-rider/hackernews/cron/health-check/all-items/initial/twoDeletedItems.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
github_repo: | ||
- | ||
id: 1 | ||
uuid: "groovy: UUID.randomUUID().toString()" | ||
external_id: 202275988 | ||
full_name: casbin/casbin | ||
html_url: https://github.com/casbin/casbin | ||
repo_created_at: 2019-08-14 04:42:36 | ||
- | ||
id: 2 | ||
uuid: "groovy: UUID.randomUUID().toString()" | ||
external_id: 303123123 | ||
full_name: test/test | ||
html_url: https://github.com/test/test | ||
repo_created_at: 2017-01-03 12:02:11 | ||
|
||
github_repo_source: | ||
- | ||
uuid: "groovy: UUID.randomUUID().toString()" | ||
github_repo_id: 1 | ||
source: "HACKERNEWS" | ||
external_id: "2222" | ||
- | ||
uuid: "groovy: UUID.randomUUID().toString()" | ||
github_repo_id: 2 | ||
source: "HACKERNEWS" | ||
external_id: "3333" | ||
|
||
hackernews_item: | ||
- | ||
uuid: "groovy: UUID.randomUUID().toString()" | ||
external_id: 2222 | ||
type: story | ||
by: smartmic | ||
title: Title for casbin | ||
url: https://github.com/casbin/casbin | ||
time: 2020-02-14 18:43:33 | ||
deleted: false | ||
- | ||
uuid: "groovy: UUID.randomUUID().toString()" | ||
external_id: 3333 | ||
type: story | ||
by: test-author | ||
title: Title for test-post | ||
url: https://github.com/test/test | ||
time: 2002-02-14 18:43:33 | ||
deleted: false |
File renamed without changes.
File renamed without changes.