Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add role tests #159

Merged
merged 4 commits into from
Oct 8, 2023
Merged

test: add role tests #159

merged 4 commits into from
Oct 8, 2023

Conversation

Jean-Grimal
Copy link
Contributor

No description provided.

@Jean-Grimal Jean-Grimal marked this pull request as ready for review October 5, 2023 16:57
Copy link
Contributor

@MerlinEgalite MerlinEgalite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

test/forge/FeeTest.sol Outdated Show resolved Hide resolved
test/forge/RoleTest.sol Outdated Show resolved Hide resolved
test/forge/FeeTest.sol Outdated Show resolved Hide resolved
test/forge/FeeTest.sol Outdated Show resolved Hide resolved
test/forge/RoleTest.sol Outdated Show resolved Hide resolved
test/forge/RoleTest.sol Outdated Show resolved Hide resolved
test/forge/RoleTest.sol Outdated Show resolved Hide resolved
test/forge/RoleTest.sol Outdated Show resolved Hide resolved
test/forge/RoleTest.sol Outdated Show resolved Hide resolved
test/forge/RoleTest.sol Outdated Show resolved Hide resolved

vm.prank(OWNER);
vm.expectRevert(ErrorsLib.AlreadySet.selector);
vault.submitTimelock(timelock);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
vault.submitTimelock(timelock);
vault.submitTimelock(TIMELOCK);

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No change was applied here

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shit, @Jean-Grimal can you apply this change in another PR please?

Base automatically changed from test/tree to main October 6, 2023 09:57
@MerlinEgalite MerlinEgalite merged commit e7d137f into main Oct 8, 2023
6 checks passed
@MerlinEgalite MerlinEgalite deleted the test/already-set branch October 8, 2023 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants