You are here

public function VueFormTest::testGetFormId in Decoupled Blocks: Vue.js 8

Tests the getFormId() method.

File

tests/src/Unit/Form/VueFormTest.php, line 67

Class

VueFormTest
@coversDefaultClass \Drupal\pdb_vue\Form\VueForm @group pdb_vue

Namespace

Drupal\Tests\pdb_vue\Unit\Form

Code

public function testGetFormId() {
  $expected = 'pdb_vue_form';
  $return = $this->form
    ->getFormId();
  $this
    ->assertEquals($expected, $return);
}