From 6ddf5900e269293b3ee19489fede3413d9d49250 Mon Sep 17 00:00:00 2001 From: Alex Renoki Date: Mon, 31 Aug 2020 10:22:41 +0300 Subject: [PATCH] Fixed tests --- tests/TestCase.php | 6 +----- ...TestsWebSockets.php => WebSocketsTestCase.php} | 15 +++------------ 2 files changed, 4 insertions(+), 17 deletions(-) rename tests/{Concerns/TestsWebSockets.php => WebSocketsTestCase.php} (89%) diff --git a/tests/TestCase.php b/tests/TestCase.php index 003278e..cfd64e4 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -2,12 +2,8 @@ namespace BeyondCode\LaravelWebSockets\Tests; -use Orchestra\Testbench\BrowserKit\TestCase as BaseTestCase; - -abstract class TestCase extends BaseTestCase +abstract class TestCase extends WebSocketsTestCase { - use Concerns\TestsWebSockets; - /** * {@inheritdoc} */ diff --git a/tests/Concerns/TestsWebSockets.php b/tests/WebSocketsTestCase.php similarity index 89% rename from tests/Concerns/TestsWebSockets.php rename to tests/WebSocketsTestCase.php index 86bc9ab..e90ece0 100644 --- a/tests/Concerns/TestsWebSockets.php +++ b/tests/WebSocketsTestCase.php @@ -1,19 +1,10 @@