Skip to content

Commit bb9c693

Browse files
committed
chore: add new condition on invalid metadata
1 parent 1b1f195 commit bb9c693

File tree

1 file changed

+9
-3
lines changed
  • tests/govtool-frontend/playwright/lib/constants

1 file changed

+9
-3
lines changed

tests/govtool-frontend/playwright/lib/constants/index.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ export const outcomeStatusType = [
3838
export const InvalidMetadata: InvalidMetadataType[] = [
3939
{
4040
type: "Data Formatted Incorrectly",
41-
reason: "metadata is not in the correct format.",
42-
url: "https://bit.ly/3zCH2HL",
43-
hash: "1111111111111111111111111111111111111111111111111111111111111111",
41+
reason: "hash is valid but incorrect metadata format.",
42+
url: "https://metadata-govtool.cardanoapi.io/data/Lolita",
43+
hash: "62a37df07103f0a69690c8975700e06b7c3c3069cb3d105abec00e820e831dda",
4444
},
4545
{
4646
type: "Data Missing",
@@ -54,4 +54,10 @@ export const InvalidMetadata: InvalidMetadataType[] = [
5454
url: "https://metadata-govtool.cardanoapi.io/data/data.jsonld",
5555
hash: "e71bf6171adda3754a87fff5c2d8d9e404eb3366428a5be13f7e76357a39004f",
5656
},
57+
{
58+
type: "Data Not Verifiable",
59+
reason: "metadata hash and URL do not match and is incorrect ga format",
60+
url: "https://metadata-govtool.cardanoapi.io/data/Lolita",
61+
hash: "e71bf6171adda3754a87fff5c2d8d9e404eb3366428a5be13f7e76357a39004f",
62+
},
5763
];

0 commit comments

Comments
 (0)