File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3131/**
3232 * Plugin for Queue
3333 */
34- class Plugin extends BasePlugin
34+ class QueuePlugin extends BasePlugin
3535{
3636 /**
3737 * Plugin name.
Original file line number Diff line number Diff line change 44namespace Cake \Queue \Test \TestCase ;
55
66use Cake \Core \Configure ;
7- use Cake \Queue \Plugin ;
87use Cake \Queue \QueueManager ;
8+ use Cake \Queue \QueuePlugin ;
99use Cake \TestSuite \TestCase ;
1010use InvalidArgumentException ;
1111use TestApp \Application ;
@@ -22,7 +22,7 @@ public function testBootstrapNoConfig()
2222 $ this ->expectException (InvalidArgumentException::class);
2323 $ this ->expectExceptionMessage ('Missing `Queue` configuration key, please check the CakePHP Queue documentation to complete the plugin setup ' );
2424 Configure::delete ('Queue ' );
25- $ plugin = new Plugin ();
25+ $ plugin = new QueuePlugin ();
2626 $ app = $ this ->getMockBuilder (Application::class)->disableOriginalConstructor ()->getMock ();
2727 $ plugin ->bootstrap ($ app );
2828 }
@@ -40,7 +40,7 @@ public function testBootstrapWithConfig()
4040 'logger ' => 'stdout ' ,
4141 ];
4242 Configure::write ('Queue ' , ['default ' => $ queueConfig ]);
43- $ plugin = new Plugin ();
43+ $ plugin = new QueuePlugin ();
4444 $ app = $ this ->getMockBuilder (Application::class)->disableOriginalConstructor ()->getMock ();
4545 $ plugin ->bootstrap ($ app );
4646 $ queueConfig ['url ' ] = [
You can’t perform that action at this time.
0 commit comments