You are here

public function EntityBackgroundFeatureTestCase::testEntityBackgroundNodeType in Entity background 7

Test content type stored in features.

File

tests/entity_background.test, line 154
Test classes for Entity backgrounds.

Class

EntityBackgroundFeatureTestCase
Class EntityBackgroundFeatureTestCase

Code

public function testEntityBackgroundNodeType() {
  $node_types = node_type_get_types();
  $this
    ->assertTrue(isset($node_types['eb_test_landing_page']), 'Node type landing page is available.');

  // Go to test content type.
  $this
    ->drupalGet('node/add/eb-test-landing-page');
  $this
    ->assertText('Paragraphs', 'Found paragraphs field');
}