File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments