File tree Expand file tree Collapse file tree
tests/Debug/Framework/WordPress Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33namespace bdk \Test \Debug \Framework \WordPress ;
44
55use bdk \Debug ;
6+ use bdk \Debug \Framework \WordPress \Settings as WordPressSettings ;
67use bdk \PhpUnitPolyfill \AssertionTrait ;
78use bdk \PubSub \Event ;
89use bdk \Test \Debug \DebugTestFramework ;
@@ -25,7 +26,7 @@ public static function setUpBeforeClass(): void
2526 }
2627 \wp_reset_mock ();
2728 self ::resetDebug ();
28- self ::$ plugin = new \ bdk \ Debug \ Framework \ WordPress \ Settings ();
29+ self ::$ plugin = new WordPressSettings ();
2930 self ::$ plugin ->setCfg ('pluginFile ' , 'phpDebugConsole/phpdebugconsole.php ' );
3031 }
3132
@@ -79,7 +80,7 @@ public function testOnBootstrap()
7980 'PHPDebugConsole Settings ' , // page title
8081 'PHPDebugConsole ' , // menu title
8182 'manage_options ' , // capability
82- self :: $ plugin :: PAGE_SLUG_NAME , // menu slug
83+ WordPressSettings:: PAGE_SLUG_NAME , // menu slug
8384 [self ::$ plugin , 'outputSettingsPage ' ], // callable
8485 null , // position
8586 ],
You can’t perform that action at this time.
0 commit comments