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

Support Multiple Tokens - Tests #74

Merged

Conversation

redscar
Copy link
Contributor

@redscar redscar commented Jul 16, 2024

Initial tests for supporting Multiple Tokens built to test #73

@redscar redscar self-assigned this Jul 16, 2024
@redscar redscar requested a review from dpanta94 July 16, 2024 18:19
Copy link
Member

@dpanta94 dpanta94 left a comment

Choose a reason for hiding this comment

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

Looks awesome! Left comments mostly about naming of stuff!

/**
* @before
*/
protected function multiple_tokens_setup(): void {
parent::setUp();
Copy link
Member

Choose a reason for hiding this comment

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

We don't need this here anymore :D

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We actually did, there is a small amount of setup code within the WPTestCase https://github.com/stellarwp/uplink/blob/feat/support-multiple-tokens-tests/tests/_support/Helper/UplinkTestCase.php#L22 that was setting up the container. I just moved that logic into the @before.

@dpanta94 dpanta94 merged commit e9f8704 into feat/support-multiple-tokens Jul 16, 2024
13 checks passed
@dpanta94 dpanta94 deleted the feat/support-multiple-tokens-tests branch July 16, 2024 19:28
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