Skip to content

Commit d5c3e98

Browse files
committed
updates
1 parent 3b348cb commit d5c3e98

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/AdminFunctionsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Tests for admin functions via static analysis.
1111
*
1212
* The admin functions (disable_cc, enable_cc, authorize_cc, etc.) all
13-
* depend heavily on global state ($GLOBALS['tf'], database connections,
13+
* depend heavily on global state (MyAdmin\App::tf(), database connections,
1414
* ACL checks). These tests verify their structure and security patterns
1515
* through source code analysis.
1616
*/

tests/PluginTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function testGetHooksReturnsExactlyTwoHooks(): void
132132
* Tests that the getMenu static method exists and accepts a GenericEvent.
133133
*
134134
* Uses reflection to verify the method signature without invoking it,
135-
* since it depends on global state ($GLOBALS['tf']).
135+
* since it depends on global state (MyAdmin\App::tf()).
136136
*/
137137
public function testGetMenuMethodSignature(): void
138138
{

0 commit comments

Comments
 (0)