[CORL-959] pass siteID through to approved and rejected route queries (#2884)

* pass siteID through to approved and rejected route queries

* Fix tests

Co-authored-by: Wyatt Johnson <wyattjoh@gmail.com>
This commit is contained in:
Tessa Thornton
2020-03-12 22:19:26 +00:00
committed by GitHub
co-authored by Wyatt Johnson
parent 75c0bad073
commit e5ea1ee179
5 changed files with 50 additions and 14 deletions
@@ -74,6 +74,7 @@ it("renders rejected queue with comments", async () => {
first: 5,
status: "REJECTED",
storyID: null,
siteID: null,
});
return {
edges: [
@@ -112,6 +113,7 @@ it("shows a moderate story", async () => {
first: 5,
status: "REJECTED",
storyID: null,
siteID: null,
});
return {
edges: [
@@ -155,6 +157,7 @@ it("renders rejected queue with comments and load more", async () => {
first: 5,
status: GQLCOMMENT_STATUS.REJECTED,
storyID: null,
siteID: null,
});
return {
edges: [
@@ -178,6 +181,7 @@ it("renders rejected queue with comments and load more", async () => {
after: rejectedComments[1].createdAt,
status: GQLCOMMENT_STATUS.REJECTED,
storyID: null,
siteID: null,
});
return {
edges: [
@@ -269,6 +273,7 @@ it("approves comment in rejected queue", async () => {
first: 5,
status: "REJECTED",
storyID: null,
siteID: null,
});
return {
edges: [