You are here

public function VarnishConnectionTestCase::testVarnishStats in Varnish 7

Same name and namespace in other branches
  1. 6 varnish.test \VarnishConnectionTestCase::testVarnishStats()

File

./varnish.test, line 68
Tests the basic functionality of Varnish.

Class

VarnishConnectionTestCase
Test Varnish Connection.

Code

public function testVarnishStats() {
  if (variable_get('varnish_version', 2.1) < 3) {
    $this
      ->assertVarnishCommand(array(
      'stats',
    ));
  }
}