Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 5b73030

Browse files
committed
fix(test): bla bla
1 parent fc0087c commit 5b73030

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

graph/tests/hypercert-minter-allowlist.test.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ describe("Describe entity assertions", () => {
2121

2222
let allowlistCreatedEvent = createAllowlistCreatedEvent(
2323
tokenID,
24-
Bytes.fromUTF8("MerkleRoot")
24+
Bytes.fromUTF8("MerkleRoot"),
2525
);
2626

2727
handleAllowlistCreated(allowlistCreatedEvent);
@@ -33,9 +33,11 @@ describe("Describe entity assertions", () => {
3333

3434
test("AllowlistCreated generates one allowlist entity", () => {
3535
let merkleRoot = Bytes.fromUTF8("MerkleRoot");
36-
let allowlistID = getDefaultContractAddress()
37-
.toHexString()
38-
.concat("-".concat(BigInt.fromI64(1).toString()));
36+
let allowlistID = "1-".concat(
37+
getDefaultContractAddress()
38+
.toHexString()
39+
.concat("-".concat(BigInt.fromI64(1).toString())),
40+
);
3941

4042
assert.entityCount("Allowlist", 1);
4143
assert.entityCount("Claim", 0);
@@ -46,7 +48,7 @@ describe("Describe entity assertions", () => {
4648
"Allowlist",
4749
allowlistID,
4850
"root",
49-
merkleRoot.toHexString()
51+
merkleRoot.toHexString(),
5052
);
5153
assert.fieldEquals("Allowlist", allowlistID, "claim", allowlistID);
5254
});

graph/tests/hypercert-minter-fraction.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ describe("Describe entity assertions", () => {
157157
"ClaimToken",
158158
fractionId,
159159
"claim",
160-
getDefaultContractAddress().toHexString().concat("-1"),
160+
"1-".concat(getDefaultContractAddress().toHexString().concat("-1")),
161161
);
162162
assert.fieldEquals("ClaimToken", fractionId, "owner", from.toHexString());
163163
assert.fieldEquals("ClaimToken", fractionId, "units", "10000");

0 commit comments

Comments
 (0)