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

Updated testing/* articles to Symfony 4#8705

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
weaverryan merged 2 commits intosymfony:masterfromjaviereguiluz:update_testing
Nov 21, 2017

Conversation

@javiereguiluz
Copy link
Member

No description provided.

testing.rst Outdated
To run your functional tests, the ``WebTestCase`` class needs to know which
is the application kernel to bootstrap it. The kernel class is usually
defined in the ``KERNEL_CLASS`` environment variable (included in the
default ``phpunit .xml-dist`` file provided by Symfony):
Copy link
Member

Choose a reason for hiding this comment

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

phpunit.xml.dist

testing.rst Outdated
<php>
<servername="KERNEL_DIR"value="/path/to/your/app/" />
<!-- the value is the FQCN of the application kernel-->
<servername="KERNEL_CLASS"value="App\Kernel" />
Copy link
Member

Choose a reason for hiding this comment

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

javiereguiluz reacted with thumbs up emoji
dbname:testdb
user:testdb
password:testdb
url:'mysql://USERNAME:PASSWORD@127.0.0.1/DB_NAME?charset=utf8mb4&serverVersion=5.7'
Copy link
Member

@ycerutoycerutoNov 20, 2017
edited
Loading

Choose a reason for hiding this comment

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

As Doctrine configuration has defined an environment variable'%env(resolve:DATABASE_URL)%' for all env, I guess we should do the changes inphpunit.xml.dist file, adding<env name="DATABASE_URL" value="..."/>? then this whole configuration will be gone.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Much better. Thanks!

@weaverryanweaverryan merged commitd396d8a intosymfony:masterNov 21, 2017
weaverryan added a commit that referenced this pull requestNov 21, 2017
This PR was squashed before being merged into the master branch (closes#8705).Discussion----------Updated testing/* articles to Symfony 4Commits-------d396d8a Fixed everything62228ec Updated testing/* articles to Symfony 4
weaverryan added a commit that referenced this pull requestNov 21, 2017
…luz)This PR was merged into the 2.7 branch.Discussion----------Some fixes for testing/* articles in 2.7 docsSpotted while updating#8705.Commits-------f75f21a Some fixes for testing/* articles in 2.7 docs
weaverryan added a commit that referenced this pull requestNov 21, 2017
…uiluz)This PR was merged into the 3.3 branch.Discussion----------Removed a deprecated feature in a testing articleSpotted while working on#8705.This is no longer needed because all profiler storage engines were removed:https://symfony.com/doc/current/profiler/storage.htmlCommits-------eb30e13 Removed a deprecated feature in a testing article
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@ycerutoycerutoyceruto left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.0

Development

Successfully merging this pull request may close these issues.

4 participants

@javiereguiluz@yceruto@weaverryan@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp