Skip to content

test: add integration tests for FullAccessKeyFallback#66

Merged
mooori merged 6 commits into
near:masterfrom
mooori:fa-key-itest
Jan 17, 2023
Merged

test: add integration tests for FullAccessKeyFallback#66
mooori merged 6 commits into
near:masterfrom
mooori:fa-key-itest

Conversation

@mooori
Copy link
Copy Markdown
Contributor

@mooori mooori commented Jan 16, 2023

Adds integration tests and removes the corresponding unit tests. The background and motivation are described in #51, which does the same for Pausable.

This only ports existing unit tests. We'll probably want to add more tests. Before doing that, I propose to wait for FullAccessKeyFallback changes resulting from audits.

Comment thread near-plugins/src/full_access_key_fallback.rs
@mooori mooori marked this pull request as ready for review January 16, 2023 19:43
@mooori mooori requested a review from birchmd January 16, 2023 19:44
Comment thread near-plugins/tests/full_access_key_fallback.rs
Comment thread near-plugins/tests/full_access_key_fallback.rs Outdated
@mooori
Copy link
Copy Markdown
Contributor Author

mooori commented Jan 17, 2023

It might take some time for fixes of above issues to land in workspaces, if they are fixed at all. While the issues lead to inefficient and awkward code, I think it’s not a blocker since this code is only available in tests. In that case we could move on with this PR.

WDYT @birchmd?

Copy link
Copy Markdown

@birchmd birchmd left a comment

Choose a reason for hiding this comment

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

Yes, I'm ok with merging this PR. Making issues on the workspaces repo is good enough to make sure we are being good open source citizens.

@mooori mooori merged commit 12ee017 into near:master Jan 17, 2023
@mooori mooori deleted the fa-key-itest branch January 17, 2023 12:21
This was referenced Mar 27, 2026
This was referenced Apr 7, 2026
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