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

Fix/unittest fail due to use of private method #28

Merged

Conversation

stefangr
Copy link
Contributor

Marked the failing test as skipped when a recent version of composer is used in the test environment.

Created a new test method to test the plugin code without relying on the internals of composer.

In recent versions of composer, the accessibility to the addPlugin method of the PluginManager was changed from public to private.
This change marks the tests as skipped if that is the case.
Most of this new test duplicates the 'test_it_receives_event' method.
However, this test does not rely on the internals of composer.
@pyrech
Copy link
Owner

pyrech commented Feb 23, 2016

Awesome! Thank you!

pyrech added a commit that referenced this pull request Feb 23, 2016
…private-method

Fix/unittest fail due to use of private method
@pyrech pyrech merged commit 1882f21 into pyrech:master Feb 23, 2016
@stefangr stefangr deleted the fix/unittest-fail-due-to-use-of-private-method branch February 24, 2016 11:08
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.

None yet

2 participants