Skip to content

Commit

Permalink
Merge pull request #252 from desci-labs/m0ar/hotfix-server-tests
Browse files Browse the repository at this point in the history
hotfix server tests
  • Loading branch information
m0ar authored Mar 22, 2024
2 parents 8cfc1a7 + 0b60266 commit e1c4d48
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions desci-server/test/integration/Attestation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,7 @@ describe('Attestations Service', async () => {
claimId: claim.id,
authorId: users[1].id,
comment: 'Love the attestation',
links: [],
});
});

Expand Down Expand Up @@ -958,6 +959,7 @@ describe('Attestations Service', async () => {
claimId: openDataAttestationClaim.id,
authorId: users[2].id,
comment: 'I love this game',
links: [],
});

// verify one claims for node 2 attestations
Expand All @@ -967,6 +969,7 @@ describe('Attestations Service', async () => {
claimId: openDataAttestationClaim2.id,
authorId: users[3].id,
comment: 'I love this guy',
links: [],
});
});

Expand Down Expand Up @@ -1110,6 +1113,7 @@ describe('Attestations Service', async () => {
claimId: openDataAttestationClaim.id,
authorId: users[2].id,
comment: 'I love this game',
links: [],
});

// verify one claims for node 2 attestations
Expand All @@ -1119,6 +1123,7 @@ describe('Attestations Service', async () => {
claimId: openDataAttestationClaim2.id,
authorId: users[3].id,
comment: 'I love this guy',
links: [],
});
await attestationService.createReaction({
claimId: claim2.id,
Expand Down Expand Up @@ -1271,6 +1276,7 @@ describe('Attestations Service', async () => {
claimId: openDataAttestationClaim.id,
authorId: users[2].id,
comment: 'I love this game',
links: [],
});

// verify one claims for node 2 attestations
Expand All @@ -1281,11 +1287,13 @@ describe('Attestations Service', async () => {
claimId: openDataAttestationClaim2.id,
authorId: users[3].id,
comment: 'I love this guy',
links: [],
});
await attestationService.createComment({
claimId: fairMetadataAttestationClaim2.id,
authorId: users[3].id,
comment: 'I love this guy',
links: [],
});
await attestationService.createReaction({
claimId: claim2.id,
Expand All @@ -1304,6 +1312,7 @@ describe('Attestations Service', async () => {
claimId: localClaim.id,
authorId: users[3].id,
comment: 'I love this guy',
links: [],
});
await attestationService.createReaction({
claimId: localClaim.id,
Expand Down Expand Up @@ -1699,6 +1708,7 @@ describe('Attestations Service', async () => {
claimId: openDataAttestationClaim.id,
authorId: users[2].id,
comment: 'I love this game',
links: [],
});

// verify one claims for node 2 attestations
Expand All @@ -1709,11 +1719,13 @@ describe('Attestations Service', async () => {
claimId: openDataAttestationClaim2.id,
authorId: users[3].id,
comment: 'I love this guy',
links: [],
});
await attestationService.createComment({
claimId: fairMetadataAttestationClaim2.id,
authorId: users[3].id,
comment: 'I love this guy',
links: [],
});
await attestationService.createReaction({
claimId: claim2.id,
Expand All @@ -1732,6 +1744,7 @@ describe('Attestations Service', async () => {
claimId: localClaim.id,
authorId: users[3].id,
comment: 'I love this guy',
links: [],
});
await attestationService.createReaction({
claimId: localClaim.id,
Expand Down Expand Up @@ -1905,6 +1918,7 @@ describe('Attestations Service', async () => {
claimId: openDataAttestationClaim.id,
authorId: users[2].id,
comment: 'I love this game',
links: [],
});

// verify one claims for node 2 attestations
Expand All @@ -1914,6 +1928,7 @@ describe('Attestations Service', async () => {
claimId: openDataAttestationClaim2.id,
authorId: users[3].id,
comment: 'I love this guy',
links: [],
});
});

Expand Down

0 comments on commit e1c4d48

Please sign in to comment.