Skip to content

Commit 82c2e1e

Browse files
committed
updated test cases to suite new version of SettingsCache
1 parent f07a7b9 commit 82c2e1e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Errors/Exceptions/TestErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class TestErrorHandler extends \PHPUnit_Framework_TestCase {
1515
private $traceFile = "";
1616

1717
protected function setUp(){
18-
SettingsCache::reset();
18+
SettingsCache::getInstance()->reset();
1919

2020
$this->logFile = tempnam(sys_get_temp_dir(), "MOCK");
2121
file_put_contents($this->logFile, '');

tests/Errors/Exceptions/TestException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class TestException extends \PHPUnit_Framework_TestCase {
1414
private $traceFile = "";
1515

1616
protected function setUp(){
17-
SettingsCache::reset();
17+
SettingsCache::getInstance()->reset();
1818
$this->logFile = tempnam(sys_get_temp_dir(), "MOCK");
1919
//clear the file
2020
file_put_contents($this->logFile, '');

0 commit comments

Comments
 (0)