File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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 {
Original file line number Diff line number Diff line change 2121 */
2222abstract class WebTestCase extends KernelTestCase
2323{
24- use WebTestAssertions ;
24+ use WebTestAssertionsTrait ;
2525
2626 /** @var Client|null */
2727 protected static $ client ;
Original file line number Diff line number Diff line change 1414use PHPUnit \Framework \AssertionFailedError ;
1515use PHPUnit \Framework \TestCase ;
1616use Symfony \Bundle \FrameworkBundle \KernelBrowser ;
17- use Symfony \Bundle \FrameworkBundle \Test \WebTestAssertions ;
17+ use Symfony \Bundle \FrameworkBundle \Test \WebTestAssertionsTrait ;
1818use Symfony \Bundle \FrameworkBundle \Test \WebTestCase ;
1919use Symfony \Component \BrowserKit \Cookie ;
2020use 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
You can’t perform that action at this time.
0 commit comments