Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Lima committed Oct 25, 2023
1 parent 0f1e0a6 commit 82f0405
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/utils/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export function findOrCreateRoleAssignment(
if (!roleAssignment) {
roleAssignment = new RoleAssignment(roleAssignmentId)
roleAssignment.role = findOrCreateRole(event.address.toHex(), nft, event.params._role).id
roleAssignment.rolesRegistry = findOrCreateRolesRegistry(event.address.toHex()).id
roleAssignment.nft = nft.id
roleAssignment.grantor = grantor.id
roleAssignment.grantee = grantee.id
Expand Down
1 change: 0 additions & 1 deletion tests/helpers/entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export function createMockRoleAssignment(
newRoleAssignment.data = Bytes.fromUTF8('data')
newRoleAssignment.createdAt = BigInt.fromI32(123)
newRoleAssignment.updatedAt = BigInt.fromI32(123)
newRoleAssignment.rolesRegistry = rolesRegistryAddress
newRoleAssignment.save()
return newRoleAssignment
}
Expand Down

0 comments on commit 82f0405

Please sign in to comment.