Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Commit

Permalink
fix post rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramarti committed Feb 9, 2024
1 parent 6bbc90a commit 21a0d3c
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions test/foundry/modules/licensing/UMLPolicyFramework.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,8 @@ contract UMLPolicyFrameworkTest is TestHelper {
}

function test_UMLPolicyFrameworkManager_getPolicyId() public {
UMLPolicy memory umlPolicy = UMLPolicy({
transferable: true,
attribution: true,
commercialUse: false,
commercialAttribution: false,
commercializers: emptyStringArray,
commercialRevShare: 0,
derivativesAllowed: false,
derivativesAttribution: false,
derivativesApproval: false,
derivativesReciprocal: false,
derivativesRevShare: 0,
territories: emptyStringArray,
distributionChannels: emptyStringArray,
contentRestrictions: emptyStringArray,
royaltyPolicy: address(0)
});
_mapUMLPolicySimple({name: "pol", commercial: true, derivatives: false, reciprocal: false, commercialRevShare: 0, derivativesRevShare: 0});
UMLPolicy memory umlPolicy = _getMappedUmlPolicy("pol");
uint256 policyId = umlFramework.registerPolicy(umlPolicy);
assertEq(umlFramework.getPolicyId(umlPolicy), policyId);
}
Expand Down

0 comments on commit 21a0d3c

Please sign in to comment.