Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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/WebToolsPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
/**
* Plugin class for BEdita\WebTools.
*/
class Plugin extends BasePlugin
class WebToolsPlugin extends BasePlugin
{
/**
* Load routes or not
Expand Down
10 changes: 5 additions & 5 deletions tests/TestCase/PluginTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@
namespace BEdita\WebTools\Test\TestCase;

use BEdita\WebTools\Command\CacheClearallCommand;
use BEdita\WebTools\Plugin;
use BEdita\WebTools\WebToolsPlugin;
use Cake\Console\CommandCollection;
use Cake\TestSuite\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\CoversMethod;
use TestApp\Application;

/**
* {@see BEdita\WebTools\Plugin} Test Case
* {@see BEdita\WebTools\WebToolsPlugin} Test Case
*/
#[CoversClass(Plugin::class)]
#[CoversMethod(Plugin::class, 'bootstrap')]
#[CoversMethod(Plugin::class, 'console')]
#[CoversClass(WebToolsPlugin::class)]
#[CoversMethod(WebToolsPlugin::class, 'bootstrap')]
#[CoversMethod(WebToolsPlugin::class, 'console')]
class PluginTest extends TestCase
{
/**
Expand Down
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See LICENSE.LGPL or <http://gnu.org/licenses/lgpl-3.0.html> for more details.
*/

use BEdita\WebTools\Plugin as WebToolsPlugin;
use BEdita\WebTools\WebToolsPlugin;
use Cake\Cache\Cache;
use Cake\Core\Configure;
use Cake\Core\Plugin;
Expand Down
4 changes: 2 additions & 2 deletions tests/test_app/TestApp/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace TestApp;

use BEdita\WebTools\Plugin;
use BEdita\WebTools\WebToolsPlugin;
use Cake\Http\BaseApplication;
use Cake\Http\MiddlewareQueue;
use Cake\Routing\Middleware\RoutingMiddleware;
Expand All @@ -24,7 +24,7 @@ class Application extends BaseApplication
*/
public function bootstrap(): void
{
$this->addPlugin(new Plugin());
$this->addPlugin(new WebToolsPlugin());
}

/**
Expand Down
Loading