WordPress.org

Make WordPress Core

Changeset 1153 in tests


Ignore:
Timestamp:
11/22/12 20:34:56 (17 months ago)
Author:
scribu
Message:

fix filter name in WP_Image_UnitTestCase

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/image/base.php

    r1148 r1153  
    1414            $this->markTestSkipped( sprintf('The image editor engine %s is not supported on this system', $this->editor_engine) ); 
    1515        } 
    16         add_filter( 'image_editor_class', array( $this, 'setEngine') ); 
     16        add_filter( 'wp_image_editor_class', array( $this, 'setEngine') ); 
    1717    } 
    1818 
     
    2121     */ 
    2222    public function tearDown() { 
    23         remove_filter( 'image_editor_class', array( $this, 'setEngine' ) ); 
     23        remove_filter( 'wp_image_editor_class', array( $this, 'setEngine' ) ); 
    2424    } 
    2525 
Note: See TracChangeset for help on using the changeset viewer.