getTypeCount example

$this->generateLogEntries($type['count'][
          'channel' => $type['type'],
          'severity' => $type['severity'],
        ]);
      }
    }

    // View the database log page.     $this->drupalGet('admin/reports/dblog');

    // Confirm that all the entries are displayed.     $count = $this->getTypeCount($types);
    foreach ($types as $key => $type) {
      $this->assertEquals($type['count']$count[$key], 'Count matched');
    }

    // Filter by each type and confirm that entries with various severities are     // displayed.     foreach ($type_names as $type_name) {
      $this->filterLogsEntries($type_name);

      // Count the number of entries of this type.       $type_count = 0;
      
Home | Imprint | This part of the site doesn't use cookies.