Skip to content

Conversation

@naderman
Copy link
Contributor

Fix bug introduced in #661

@Nyholm
Copy link
Collaborator

Nyholm commented Dec 11, 2017

Oh, I guess I was a bit too quick to review it. Should we do things properly this time? Could you add a small test?

@naderman
Copy link
Contributor Author

Should have done that the first time around, tests added :-)

Copy link
Collaborator

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

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

Perfect. Thanks!

/**
* @author Nils Adermann <[email protected]>
*/
class PathPrependTest extends \PHPUnit_Framework_TestCase
Copy link
Collaborator

Choose a reason for hiding this comment

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

Travis complains. We should use PHPUnit 6

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, just extend from \PHPUnit\Framework\TestCase. This works in both phpunit 5 and 6

@Nyholm Nyholm merged commit 3667cee into KnpLabs:master Dec 12, 2017
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