Skip to content
Snippets Groups Projects

Convert FieldTypeTest into a Kernel test

Closed spokje requested to merge issue/drupal-3414481:3414481-convert-fieldtypetest-into into 11.x
1 unresolved thread

Closes #3414481

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
46 $this->drupalCreateContentType(['type' => 'article']);
62 NodeType::create([
63 'type' => 'article',
64 'name' => 'Article',
65 ])->save();
47 66
48 67 // Create two nodes.
49 68 for ($i = 0; $i < 2; $i++) {
50 $this->nodes[] = $this->drupalCreateNode(
51 [
52 'type' => 'article',
53 'body' => [
54 [
55 'value' => $this->randomMachineName(42),
56 'format' => filter_default_format(),
57 'summary' => $this->randomMachineName(),
  • spokje added 1 commit
  • spokje added 1 commit
  • closed

  • Please register or sign in to reply
    Loading