Skip to content

Commit

Permalink
fix title in should return projects with indicated slug test
Browse files Browse the repository at this point in the history
  • Loading branch information
RamRamez committed May 17, 2024
1 parent c031670 commit 33091be
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/resolvers/projectResolver.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4338,7 +4338,7 @@ function projectBySlugTestCases() {
const walletAddress = generateRandomEtheriumAddress();
const accessToken = await generateTestAccessToken(SEED_DATA.FIRST_USER.id);
const sampleProject1 = {
title: 'title1',
title: walletAddress,
adminUserId: SEED_DATA.FIRST_USER.id,
addresses: [
{
Expand All @@ -4362,12 +4362,6 @@ function projectBySlugTestCases() {
},
},
);
// eslint-disable-next-line no-console
console.log('----------------------------');
// eslint-disable-next-line no-console
console.log(res1.data, res1.data.error, res1.data.errors);
// eslint-disable-next-line no-console
console.log('----------------------------');
const _project = res1.data.data.createProject;
const result = await axios.post(graphqlUrl, {
query: fetchProjectBySlugQuery,
Expand Down

0 comments on commit 33091be

Please sign in to comment.