Skip to content

Commit c1f194c

Browse files
authored
[11.x] Test Improvements (#56649)
Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent 7c121e2 commit c1f194c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/Broadcasting/UsePusherChannelsNamesTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
class UsePusherChannelsNamesTest extends TestCase
1111
{
1212
#[DataProvider('channelsProvider')]
13-
public function testChannelNameNormalization($requestChannelName, $normalizedName)
13+
public function testChannelNameNormalization($requestChannelName, $normalizedName, $guarded)
1414
{
1515
$broadcaster = new FakeBroadcasterUsingPusherChannelsNames;
1616

@@ -44,7 +44,7 @@ public function testChannelNamePatternMatching()
4444
}
4545

4646
#[DataProvider('channelsProvider')]
47-
public function testIsGuardedChannel($requestChannelName, $_, $guarded)
47+
public function testIsGuardedChannel($requestChannelName, $normalizedName, $guarded)
4848
{
4949
$broadcaster = new FakeBroadcasterUsingPusherChannelsNames;
5050

tests/Testing/Concerns/InteractsWithDeprecationHandlingTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ protected function tearDown(): void
4545
{
4646
$this->deprecationsFound = false;
4747

48-
HandleExceptions::flushHandlersState();
48+
HandleExceptions::flushHandlersState($this);
4949

5050
parent::tearDown();
5151
}

0 commit comments

Comments
 (0)