We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 563baa4 commit dde6b3eCopy full SHA for dde6b3e
tests/TestCase/ToolbarServiceTest.php
@@ -530,7 +530,9 @@ public function testSaveDataSerializationError()
530
531
// Create a panel with unserializable data
532
/** @var SimplePanel $panel */
533
- $panel = $bar->registry()->load(SimplePanel::class);
+ $panel = $bar->registry()->load('DebugKit.TestApp\Panel\SimplePanel', [
534
+ 'className' => SimplePanel::class,
535
+ ]);
536
// Mock the data() method to return something problematic
537
$panel->setData(['closure' => fn() => 'test']);
538
0 commit comments