8000 Rename WebTestAssertions -> WebTestAssertionsTrait · symfony/symfony@2ae30a7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2ae30a7

Browse files
committed
Rename WebTestAssertions -> WebTestAssertionsTrait
1 parent 755f411 commit 2ae30a7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Symfony/Bundle/FrameworkBundle/Test/WebTestAssertions.php renamed to src/Symfony/Bundle/FrameworkBundle/Test/WebTestAssertionsTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
* @see https://laravel.com/docs/5.7/dusk#available-assertions
2828
*/
29-
trait WebTestAssertions
29+
trait WebTestAssertionsTrait
3030
{
3131
public static function assertResponseIsSuccessful(string $message = ''): void
3232
{

src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*/
2222
abstract class WebTestCase extends KernelTestCase
2323
{
24-
use WebTestAssertions;
24+
use WebTestAssertionsTrait;
2525

2626
/** @var Client|null */
2727
protected static $client;

src/Symfony/Bundle/FrameworkBundle/Tests/Test/WebTestCaseTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use PHPUnit\Framework\AssertionFailedError;
1515
use PHPUnit\Framework\TestCase;
1616
use Symfony\Bundle\FrameworkBundle\KernelBrowser;
17-
use Symfony\Bundle\FrameworkBundle\Test\WebTestAssertions;
17+
use Symfony\Bundle\FrameworkBundle\Test\WebTestAssertionsTrait;
1818
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
1919
use Symfony\Component\BrowserKit\Cookie;
2020
use Symfony\Component\BrowserKit\CookieJar;
@@ -275,7 +275,7 @@ private function getRequestTester(): WebTestCase
275275
private function getTester(KernelBrowser $client): WebTestCase
276276
{
277277
return new class($client) extends WebTestCase {
278-
use WebTestAssertions;
278+
use WebTestAssertionsTrait;
279279

280280
protected static $client;
281281

0 commit comments

Comments
 (0)
0