Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Plugin.php → src/QueuePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
/**
* Plugin for Queue
*/
class Plugin extends BasePlugin
class QueuePlugin extends BasePlugin
{
/**
* Plugin name.
Expand Down
6 changes: 3 additions & 3 deletions tests/TestCase/PluginTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
namespace Cake\Queue\Test\TestCase;

use Cake\Core\Configure;
use Cake\Queue\Plugin;
use Cake\Queue\QueueManager;
use Cake\Queue\QueuePlugin;
Comment thread
josbeir marked this conversation as resolved.
use Cake\TestSuite\TestCase;
use InvalidArgumentException;
use TestApp\Application;
Expand All @@ -22,7 +22,7 @@ public function testBootstrapNoConfig()
$this->expectException(InvalidArgumentException::class);
$this->expectExceptionMessage('Missing `Queue` configuration key, please check the CakePHP Queue documentation to complete the plugin setup');
Configure::delete('Queue');
$plugin = new Plugin();
$plugin = new QueuePlugin();
$app = $this->getMockBuilder(Application::class)->disableOriginalConstructor()->getMock();
$plugin->bootstrap($app);
}
Expand All @@ -40,7 +40,7 @@ public function testBootstrapWithConfig()
'logger' => 'stdout',
];
Configure::write('Queue', ['default' => $queueConfig]);
$plugin = new Plugin();
$plugin = new QueuePlugin();
$app = $this->getMockBuilder(Application::class)->disableOriginalConstructor()->getMock();
$plugin->bootstrap($app);
$queueConfig['url'] = [
Expand Down