-
Notifications
You must be signed in to change notification settings - Fork 354
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
Improve mocks #1146
Improve mocks #1146
Changes from all commits
8277877
14b4b96
485512f
e9cd67d
762d9c9
21b31d9
3ad8c7f
b8a3ed5
a4d5d77
d44754c
094081c
e738107
75974fd
586357a
b2ba912
fe6d846
de11d9b
57c9003
55225bc
72451fa
fda9095
f575ba8
86508c6
1c5c522
420d364
f14f635
8a763e0
46fd0ac
182f470
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
pub mod accesscontrol; | ||
pub mod ownable; | ||
|
||
pub mod tests; | ||
#[cfg(test)] | ||
mod tests; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
pub(crate) mod mocks; | ||
|
||
#[cfg(test)] | ||
mod test_accesscontrol; | ||
#[cfg(test)] | ||
mod test_ownable; | ||
#[cfg(test)] | ||
mod test_ownable_twostep; |
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,3 +38,12 @@ openzeppelin_test_common = { path = "../test_common" } | |
allowed-libfuncs-list.name = "experimental" | ||
sierra = true | ||
casm = false | ||
|
||
[[test]] | ||
name = "openzeppelin_account_unittest" | ||
build-external-contracts = [ | ||
Comment on lines
+42
to
+44
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is the name a requirement? Not that I'm against it if it's not, I'm just curious There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is, because of a known issue with foundry and scarb. |
||
"openzeppelin_test_common::mocks::account::DualCaseAccountMock", | ||
"openzeppelin_test_common::mocks::account::DualCaseEthAccountMock", | ||
"openzeppelin_test_common::mocks::src9::SRC9AccountMock", | ||
"openzeppelin_test_common::mocks::simple::SimpleMock", | ||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,6 @@ | ||
mod extensions; | ||
pub(crate) mod mocks; | ||
|
||
#[cfg(test)] | ||
mod test_account; | ||
#[cfg(test)] | ||
mod test_eth_account; | ||
#[cfg(test)] | ||
mod test_secp256k1; | ||
#[cfg(test)] | ||
mod test_signature; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
#[cfg(test)] | ||
mod test_snip12_utils; | ||
#[cfg(test)] | ||
mod test_src9; |
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️