You are here

function VarnishAdminTestCase::_getVarnishSettingsValues in Varnish 6

1 call to VarnishAdminTestCase::_getVarnishSettingsValues()
VarnishAdminTestCase::testVarnishSettingsPage in ./varnish.test

File

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

Class

VarnishAdminTestCase

Code

function _getVarnishSettingsValues() {
  return array(
    'varnish_control_terminal' => variable_get('varnish_control_terminal', '127.0.0.1:6082'),
    'varnish_flush_cron' => variable_get('varnish_flush_cron', 0),
    'varnish_version' => variable_get('varnish_version', 0),
    'varnish_control_key' => variable_get('varnish_control_key', 0),
    'varnish_socket_timeout' => variable_get('varnish_socket_timeout', 100),
    'varnish_cache_clear' => variable_get('varnish_cache_clear', 0),
  );
}