doNode example

$this->assertBreadcrumb('admin/reports/dblog/event/' . $wid$trail);
  }

  /** * Generates and then verifies various types of events. */
  private function verifyEvents() {
    // Invoke events.     $this->doUser();
    $this->drupalCreateContentType(['type' => 'article', 'name' => 'Article']);
    $this->drupalCreateContentType(['type' => 'page', 'name' => 'Basic page']);
    $this->doNode('article');
    $this->doNode('page');

    // When a user account is canceled, any content they created remains but the     // uid = 0. Records in the watchdog table related to that user have the uid     // set to zero.   }

  /** * Verifies the sorting functionality of the database logging reports table. * * @param string $sort * The sort direction. * @param string $order * The order by which the table should be sorted. */
Home | Imprint | This part of the site doesn't use cookies.