Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[FrameworkBundle] improve errors in tests missing the BrowserKit component#29704

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:3.4fromxabbuh:issue-29696
Jan 1, 2019

Conversation

@xabbuh
Copy link
Member

QA
Branch?3.4
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#29696
LicenseMIT
Doc PR

Copy link
Contributor

@localheinzlocalheinz left a comment

Choose a reason for hiding this comment

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

👍

try {
$client =$kernel->getContainer()->get('test.client');
}catch (ServiceNotFoundException$e) {
thrownew \LogicException('The BrowserKit component is required to be able to create a client.',$e->getCode(),$e);

Choose a reason for hiding this comment

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

Could we reword this to be similar to other error messages added recently?

thrownew \LogicException('You can not create the client used in functional tests if the BrowserKit component is not available. Try running "composer require symfony/browser-kit".')

xabbuh reacted with thumbs up emoji
@fabpot
Copy link
Member

Thank you@xabbuh.

@fabpotfabpot merged commit7961a29 intosymfony:3.4Jan 1, 2019
fabpot added a commit that referenced this pull requestJan 1, 2019
…serKit component (xabbuh)This PR was merged into the 3.4 branch.Discussion----------[FrameworkBundle] improve errors in tests missing the BrowserKit component| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#29696| License       | MIT| Doc PR        |Commits-------7961a29 improve error message when using test client without the BrowserKit component
@xabbuhxabbuh deleted the issue-29696 branchJanuary 1, 2019 18:02
This was referencedJan 6, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@javiereguiluzjaviereguiluzjaviereguiluz left review comments

@fabpotfabpotfabpot approved these changes

+2 more reviewers

@localheinzlocalheinzlocalheinz approved these changes

@ro0NLro0NLro0NL approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

6 participants

@xabbuh@fabpot@javiereguiluz@localheinz@ro0NL@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp