Skip to content

Fix MetaMaskController test network access#8549

Merged
whymarrh merged 1 commit into
MetaMask:developfrom
whymarrh:ut-test
May 7, 2020
Merged

Fix MetaMaskController test network access#8549
whymarrh merged 1 commit into
MetaMask:developfrom
whymarrh:ut-test

Conversation

@whymarrh

@whymarrh whymarrh commented May 7, 2020

Copy link
Copy Markdown
Contributor

This PR removes the call to PhishingController#updatePhishingLists from the MetaMaskController tests. The call isn't required as the state is initialized from eth-phishing-detect config on construction.

I've also updated the test title to remove a trailing space.

  1) MetaMaskController
       #setupUntrustedCommunication
-         sets up phishing stream for untrusted communication :
+         sets up phishing stream for untrusted communication:

@whymarrh whymarrh requested a review from a team as a code owner May 7, 2020 20:55
@whymarrh whymarrh changed the title Fix MetaMaskController untrusted tests network access Fix MetaMaskController test network access May 7, 2020
@whymarrh whymarrh mentioned this pull request May 7, 2020
Gudahtt
Gudahtt previously approved these changes May 7, 2020

@Gudahtt Gudahtt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@whymarrh

whymarrh commented May 7, 2020

Copy link
Copy Markdown
Contributor Author

Updated to remove the mocking of /v2/blacklist

@Gudahtt Gudahtt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@whymarrh whymarrh merged commit 84c4b72 into MetaMask:develop May 7, 2020
@whymarrh whymarrh deleted the ut-test branch May 7, 2020 21:21
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.

2 participants