Skip to content

Commit

Permalink
fix the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ae2079 committed Sep 3, 2024
1 parent 6a6a87b commit a7d51cb
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/resolvers/projectResolver.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -459,11 +459,10 @@ function createProjectTestCases() {
ORGANIZATION_LABELS.GIVETH,
);

// When creating project, listed is null by default
assert.equal(result.data.data.createProject.listed, null);
assert.equal(result.data.data.createProject.listed, true);
assert.equal(
result.data.data.createProject.reviewStatus,
ReviewStatus.NotReviewed,
ReviewStatus.Listed,
);

assert.equal(
Expand Down Expand Up @@ -568,11 +567,10 @@ function createProjectTestCases() {
ORGANIZATION_LABELS.GIVETH,
);

// When creating project, listed is null by default
assert.equal(result.data.data.createProject.listed, null);
assert.equal(result.data.data.createProject.listed, true);
assert.equal(
result.data.data.createProject.reviewStatus,
ReviewStatus.NotReviewed,
ReviewStatus.Listed,
);

assert.equal(
Expand Down

0 comments on commit a7d51cb

Please sign in to comment.