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

Tests improvements #2

Merged
merged 2 commits into from
Feb 10, 2020
Merged

Conversation

seregazhuk
Copy link
Member

Some small improvements for tests:

  • Move lib for waiting into dev dependencies
  • Add timeout for waiting to prevent "endless" tests

I still suggest adding phpunit dependency to require-dev section. Because it is not obvious what version of PHPUnit we use in the library.

It is used only in tests. There is no need to install it for prod env.
Otherwise the tests can wait endlessly till the promise resolves.
@mmoreram mmoreram merged commit 7c2b04c into driftphp:master Feb 10, 2020
@mmoreram mmoreram deleted the tests-improvements branch February 10, 2020 09:41
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