You are here

function VarnishConnectionTestCase::testVarnishStats in Varnish 6

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

File

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

Class

VarnishConnectionTestCase
Test Varnish Connection.

Code

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