You are here

protected function SimpleGMapFormatterTest::setUp in Simple Google Maps 8

Same name and namespace in other branches
  1. 3.0.x tests/src/Kernel/SimpleGMapFormatterTest.php \Drupal\Tests\simple_gmap\Kernel\SimpleGMapFormatterTest::setUp()

Overrides EntityKernelTestBase::setUp

File

tests/src/Kernel/SimpleGMapFormatterTest.php, line 34

Class

SimpleGMapFormatterTest
Tests the text formatters functionality.

Namespace

Drupal\Tests\simple_gmap\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installConfig('node');
  $this
    ->installEntitySchema('node');
  $this
    ->installConfig('simple_gmap');
  $this
    ->installConfig('simple_gmap_stress_test');

  // Populate the node this the default values.
  $this->node = Node::create([
    'type' => 'simple_gmap_stress_test',
    'title' => 'Stress ball',
  ]);
  $this->node
    ->save();
}