You are here

private function VarnishAdminTestCase::getVarnishSettingsValues in Varnish 7

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

File

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

Class

VarnishAdminTestCase
Tests Varnish Administration.

Code

private 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', 2.1),
    '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),
  );
}