File tree 3 files changed +4
-4
lines changed
src/Symfony/Bundle/FrameworkBundle
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 26
26
*
27
27
* @see https://laravel.com/docs/5.7/dusk#available-assertions
28
28
*/
29
- trait WebTestAssertions
29
+ trait WebTestAssertionsTrait
30
30
{
31
31
public static function assertResponseIsSuccessful (string $ message = '' ): void
32
32
{
Original file line number Diff line number Diff line change 21
21
*/
22
22
abstract class WebTestCase extends KernelTestCase
23
23
{
24
- use WebTestAssertions ;
24
+ use WebTestAssertionsTrait ;
25
25
26
26
/** @var Client|null */
27
27
protected static $ client ;
Original file line number Diff line number Diff line change 14
14
use PHPUnit \Framework \AssertionFailedError ;
15
15
use PHPUnit \Framework \TestCase ;
16
16
use Symfony \Bundle \FrameworkBundle \KernelBrowser ;
17
- use Symfony \Bundle \FrameworkBundle \Test \WebTestAssertions ;
17
+ use Symfony \Bundle \FrameworkBundle \Test \WebTestAssertionsTrait ;
18
18
use Symfony \Bundle \FrameworkBundle \Test \WebTestCase ;
19
19
use Symfony \Component \BrowserKit \Cookie ;
20
20
use Symfony \Component \BrowserKit \CookieJar ;
@@ -275,7 +275,7 @@ private function getRequestTester(): WebTestCase
275
275
private function getTester (KernelBrowser $ client ): WebTestCase
276
276
{
277
277
return new class ($ client ) extends WebTestCase {
278
- use WebTestAssertions ;
278
+ use WebTestAssertionsTrait ;
279
279
280
280
protected static $ client ;
281
281
You can’t perform that action at this time.
0 commit comments