This repository was archived by the owner on Feb 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace BeyondCode \LaravelWebSockets \Tests \Statistics \ Logger ;
3
+ namespace BeyondCode \LaravelWebSockets \Tests \Mocks ;
4
4
5
5
use BeyondCode \LaravelWebSockets \Statistics \Logger \MemoryStatisticsLogger ;
6
6
7
- class FakeStatisticsLogger extends MemoryStatisticsLogger
7
+ class FakeMemoryStatisticsLogger extends MemoryStatisticsLogger
8
8
{
9
9
/**
10
10
* {@inheritdoc}
Original file line number Diff line number Diff line change 9
9
use BeyondCode \LaravelWebSockets \Statistics \Drivers \StatisticsDriver ;
10
10
use BeyondCode \LaravelWebSockets \Tests \Mocks \Connection ;
11
11
use BeyondCode \LaravelWebSockets \Tests \Mocks \Message ;
12
- use BeyondCode \LaravelWebSockets \Tests \Statistics \ Logger \ FakeStatisticsLogger ;
12
+ use BeyondCode \LaravelWebSockets \Tests \Mocks \ FakeMemoryStatisticsLogger ;
13
13
use BeyondCode \LaravelWebSockets \WebSockets \Channels \ChannelManager ;
14
14
use GuzzleHttp \Psr7 \Request ;
15
15
use Orchestra \Testbench \BrowserKit \TestCase as BaseTestCase ;
@@ -58,7 +58,7 @@ public function setUp(): void
58
58
59
59
$ this ->statisticsDriver = $ this ->app ->make (StatisticsDriver::class);
60
60
61
- StatisticsLogger::swap (new FakeStatisticsLogger (
61
+ StatisticsLogger::swap (new FakeMemoryStatisticsLogger (
62
62
$ this ->channelManager ,
63
63
app (StatisticsDriver::class)
64
64
));
You can’t perform that action at this time.
0 commit comments