1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-04 21:28:06 +02:00

Remove unnecessary $this parameters from mock instantiation; SimpleTest doesn't use it!

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1243 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2007-06-26 15:40:04 +00:00
parent 3c734b4c72
commit ae90bb919d
13 changed files with 27 additions and 27 deletions

View File

@@ -10,7 +10,7 @@ class HTMLPurifier_DefinitionCacheHarness extends UnitTestCase
*/
function generateConfigMock($serial = 'defaultserial') {
generate_mock_once('HTMLPurifier_Config');
$config = new HTMLPurifier_ConfigMock($this);
$config = new HTMLPurifier_ConfigMock();
$config->setReturnValue('getBatchSerial', $serial, array('Test'));
$config->version = '1.0.0';
return $config;