public function _beforeSuite($settings = []) {
    if ($this->config['check_logs'] && \Drupal::moduleHandler()->moduleExists('dblog')) {
      // Clear log entries from the database log.
      \Drupal::database()->truncate('watchdog')->execute();
    }
  }
public function _beforeSuite($settings = []) {
    if ($this->config['check_logs'] && \Drupal::moduleHandler()->moduleExists('dblog')) {
      // Clear log entries from the database log.
      \Drupal::database()->truncate('watchdog')->execute();
    }
  }
public function _beforeSuite ( $ settings = [ ] ) { if ( $ this -> config [ 'check_logs' ] && \ Drupal :: moduleHandler ( ) -> moduleExists ( 'dblog' ) ) { // Clear log entries from the database log. \ Drupal :: database ( ) -> truncate ( 'watchdog' ) -> execute ( ) ; } }
Setup Test environment.
Setup Test environment .