You are here

public function AssetManagerTest::setUp in CKEditor Media Embed Plugin 8

Overrides UnitTestCase::setUp

File

tests/src/Unit/AssetManagerTest.php, line 19

Class

AssetManagerTest
Tests the asset manager.

Namespace

Drupal\Tests\ckeditor_media_embed\Unit

Code

public function setUp() {
  $container = new ContainerBuilder();
  $container
    ->set('app.root', __DIR__ . '/../../assets');
  \Drupal::setContainer($container);
}