mirror of
https://github.com/wassname/talk.git
synced 2026-08-01 13:00:55 +08:00
[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:
co-authored by
Wyatt Johnson
parent
75c0bad073
commit
e5ea1ee179
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user