Commit f386b0bb authored by catch's avatar catch
Browse files

Issue #3357518 by poker10, DanielVeza: StatisticsLoggingTest does not truncate node_counter

parent d4f30732
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@

namespace Drupal\Tests\statistics\Functional;

use Drupal\Core\Database\Database;
use Drupal\Tests\BrowserTestBase;
use Drupal\node\Entity\Node;

@@ -99,8 +98,6 @@ protected function setUp(): void {
      ->set('count_content_views', 1)
      ->save();

    // Clear the logs.
    Database::getConnection()->truncate('node_counter');
    $this->client = \Drupal::httpClient();
  }