Skip to content

Commit 542024f

Browse files
committed
Fix tests
1 parent edc096b commit 542024f

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

tests/Unit/Generation/PluginListProviderTest.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,6 @@ public function testGetAllowedPluginsIncludesActivatedPluginWhenEligible(): void
3535
$this->assertSame(['HasApi'], $provider->getAllowedPlugins());
3636
}
3737

38-
public function testGetAllowedPluginsExcludesBlocklistedPlugin(): void
39-
{
40-
$provider = $this->makeProvider(
41-
['ConnectAccounts'],
42-
['ConnectAccounts' => true],
43-
true
44-
);
45-
46-
$this->assertSame([], $provider->getAllowedPlugins());
47-
}
48-
4938
public function testGetAllowedPluginsExcludesPluginNotInFilesystem(): void
5039
{
5140
$provider = $this->makeProvider(
@@ -99,21 +88,18 @@ public function testGetAllowedPluginsDropsInvalidEventUpdatesButKeepsEventAddedP
9988
'Login' => true,
10089
'InactivePlugin' => true,
10190
'NoApi' => true,
102-
'ConnectAccounts' => true,
10391
],
10492
[
10593
'HasApi' => true,
10694
'Login' => true,
10795
'InactivePlugin' => true,
10896
'NoApi' => false,
109-
'ConnectAccounts' => true,
11097
],
11198
static function (string $eventName, array $params): void {
11299
$pluginNames = &$params[0];
113100
$pluginNames[] = 'Login';
114101
$pluginNames[] = 'InactivePlugin';
115102
$pluginNames[] = 'NoApi';
116-
$pluginNames[] = 'ConnectAccounts';
117103
$pluginNames[] = 123;
118104
}
119105
);

0 commit comments

Comments
 (0)