Skip to content

Update the testsuite to use the new mink/driver-testsuite#113

Merged
stof merged 1 commit intominkphp:masterfrom
stof:update_testsuite
Oct 1, 2016
Merged

Update the testsuite to use the new mink/driver-testsuite#113
stof merged 1 commit intominkphp:masterfrom
stof:update_testsuite

Conversation

@stof
Copy link
Copy Markdown
Member

@stof stof commented Oct 1, 2016

Fixtures overrides to be used with HttpFoundation are now handled in the driver testsuite directly, to ease the maintenance (as they must stay in sync with original fixtures).

TODOs:

Comment thread composer.json Outdated
}
],

"repositories": [
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.

I guess once you've merge PR with test suite itself this one won't be needed.

Comment thread composer.json Outdated
"require-dev": {
"symfony/phpunit-bridge": "~2.7|~3.0",
"silex/silex": "~1.2"
"mink/driver-testsuite": "dev-http_kernel",
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.

I guess once you've merge PR with test suite itself this one won't be needed.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yeah, absolutely

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

removed

public function createDriver()
{
$client = new Client(require(__DIR__.'/app.php'));
$client = new Client(new FixturesKernel());
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.

This answers my question on test suite PR on how FixturesKernel would be used 😄

Fixtures overrides to be used with HttpFoundation are now handled in the
driver testsuite directly, to ease the maintenance (as they must stay in
sync with original fixtures).
@stof stof force-pushed the update_testsuite branch from 3ea81f8 to 97ecf33 Compare October 1, 2016 12:02
@stof stof merged commit 496ee87 into minkphp:master Oct 1, 2016
@stof stof deleted the update_testsuite branch October 1, 2016 12:12
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