mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-04 13:18:00 +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:
@@ -15,9 +15,9 @@ class HTMLPurifier_AttrCollectionsTest extends UnitTestCase
|
||||
|
||||
generate_mock_once('HTMLPurifier_AttrTypes');
|
||||
|
||||
$collections = new HTMLPurifier_AttrCollections_TestForConstruct($this);
|
||||
$collections = new HTMLPurifier_AttrCollections_TestForConstruct();
|
||||
|
||||
$types = new HTMLPurifier_AttrTypesMock($this);
|
||||
$types = new HTMLPurifier_AttrTypesMock();
|
||||
|
||||
$modules = array();
|
||||
|
||||
@@ -67,7 +67,7 @@ class HTMLPurifier_AttrCollectionsTest extends UnitTestCase
|
||||
|
||||
generate_mock_once('HTMLPurifier_AttrTypes');
|
||||
|
||||
$types = new HTMLPurifier_AttrTypesMock($this);
|
||||
$types = new HTMLPurifier_AttrTypesMock();
|
||||
$collections = new HTMLPurifier_AttrCollections($types, array());
|
||||
$collections->info = array(
|
||||
'Core' => array(0 => array('Inclusion', 'Undefined'), 'attr-original' => 'Type'),
|
||||
@@ -105,7 +105,7 @@ class HTMLPurifier_AttrCollectionsTest extends UnitTestCase
|
||||
|
||||
generate_mock_once('HTMLPurifier_AttrTypes');
|
||||
|
||||
$types = new HTMLPurifier_AttrTypesMock($this);
|
||||
$types = new HTMLPurifier_AttrTypesMock();
|
||||
$collections = new HTMLPurifier_AttrCollections($types, array());
|
||||
|
||||
$attr = array(
|
||||
|
Reference in New Issue
Block a user