Skip to content

Commit

Permalink
Update AuditsTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ivopetkov committed Dec 3, 2021
1 parent 2a66968 commit 3ecdc10
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/AuditsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
class AuditsTest extends BearFramework\AddonTests\PHPUnitTestCase
{

protected function initializeApp(bool $setLogger = true, bool $setDataDriver = true, bool $setCacheDriver = true, bool $addAddon = true): \BearFramework\App
{
$app = parent::initializeApp($setLogger, $setDataDriver, $setCacheDriver, false);
$app->addons->add('bearcms/bearframework-addon');
$app->bearCMS->initialize([]);
$app->bearCMS->addons->add('bearcms/audits-addon');
return $app;
}
// protected function initializeApp(bool $setLogger = true, bool $setDataDriver = true, bool $setCacheDriver = true, bool $addAddon = true): \BearFramework\App
// {
// $app = parent::initializeApp($setLogger, $setDataDriver, $setCacheDriver, false);
// $app->addons->add('bearcms/bearframework-addon');
// $app->bearCMS->initialize([]);
// $app->bearCMS->addons->add('bearcms/audits-addon');
// return $app;
// }

/**
*
Expand Down

0 comments on commit 3ecdc10

Please sign in to comment.