Skip to content

Commit

Permalink
Make sure cache is disabled during testing
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed May 5, 2015
1 parent f730ea9 commit f558de5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Standards/AbstractSniffUnitTest.php
Expand Up @@ -127,7 +127,8 @@ final public function testSniff()
if (isset($GLOBALS['PHP_CODESNIFFER_CONFIG']) === true) {
$config = $GLOBALS['PHP_CODESNIFFER_CONFIG'];
} else {
$config = new Config();
$config = new Config();
$config->cache = false;
$GLOBALS['PHP_CODESNIFFER_CONFIG'] = $config;
}

Expand Down

0 comments on commit f558de5

Please sign in to comment.