Tweak code block in README
This commit is contained in:
parent
65c3a88179
commit
bb7df3cb61
|
|
@ -196,6 +196,7 @@ public function tearDown(): void
|
||||||
> **Note:** If your plugin uses [configuration files](../plugin/settings#file-configuration), then you will need to run `System\Classes\PluginManager::instance()->registerAll(true);` in the `setUp` method of your tests.<br><br>Below is an example of a base test case class that should be used if you need to test your plugin working with other plugins instead of in isolation.
|
> **Note:** If your plugin uses [configuration files](../plugin/settings#file-configuration), then you will need to run `System\Classes\PluginManager::instance()->registerAll(true);` in the `setUp` method of your tests.<br><br>Below is an example of a base test case class that should be used if you need to test your plugin working with other plugins instead of in isolation.
|
||||||
|
|
||||||
use System\Classes\PluginManager;
|
use System\Classes\PluginManager;
|
||||||
|
use October\Core\Tests\PluginTestCase;
|
||||||
|
|
||||||
class BaseTestCase extends PluginTestCase
|
class BaseTestCase extends PluginTestCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue