Files
laravel-manager-packagist/tests/SimpleViewTestCase.php
T

16 lines
468 B
PHP

<?php
namespace IriksIT\Manager\Tests;
/** A site that turned the simple face of the manager on. */
abstract class SimpleViewTestCase extends TestCase
{
protected function defineEnvironment($app): void
{
parent::defineEnvironment($app);
$app['config']->set('manager.simple_view', true);
$app['config']->set('manager.menu.items', ['posts.index' => ['simple' => true, 'order' => 5, 'section' => 'Content', 'icon' => 'file']]);
}
}