feat: Added working test of SetDefaultProfileWithSig

This commit is contained in:
Ben Sparks
2022-12-09 16:35:37 +02:00
parent 5b5dab42c7
commit f218c8766a

View File

@@ -97,7 +97,7 @@ contract DefaultProfileFunctionalityTest_WithSig is BaseTest, SigSetup, Signatur
// SCENARIOS
function testCanSetDefaultProfileWithSig() public {
_setDefaultProfileWithSig(otherSigner, profileOwnerKey);
_setDefaultProfileWithSig({delegatedSigner: address(0), signerPrivKey: profileOwnerKey});
assertEq(hub.getDefaultProfile(profileOwner), FIRST_PROFILE_ID);
}