-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #70 from zkemail/feat/add-more-test-cases-from-bod…
…y-parsing Feat/add more test cases for body parsing
- Loading branch information
Showing
16 changed files
with
1,418 additions
and
94 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
packages/contracts/test/EmailAccountRecovery/EmailAccountRecovery_general.t.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.12; | ||
|
||
import "forge-std/Test.sol"; | ||
import "../helpers/StructHelper.sol"; | ||
|
||
contract EmailAccountRecoveryTest_general is Test, StructHelper { | ||
function test_erifier() public { | ||
assertEq(recoveryController.verifier(), address(verifier)); | ||
} | ||
|
||
function test_DKIM() public { | ||
assertEq(recoveryController.dkim(), address(dkim)); | ||
} | ||
|
||
function test_EmailAuthImplementation() public { | ||
assertEq(recoveryController.emailAuthImplementation(), address(emailAuth)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.