WordPress.org

Make WordPress Core

Changeset 1131 in tests


Ignore:
Timestamp:
11/13/12 18:02:47 (18 months ago)
Author:
nbachiyski
Message:

Update renamed method name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/export/class-wp-wxr-export.php

    r1130 r1131  
    141141    } 
    142142 
    143     function test_export_using_writer_class_returns_wp_error_if_the_writer_throws_wxr_exception() { 
    144         $export = new WP_WXR_Export(); 
    145         $this->assertTrue( is_wp_error( $export->export_using_writer_class( 'Test_WP_WXR_Stub_Writer_Throws_WXR_Exception' ) ) ); 
    146     } 
    147  
    148     function test_export_using_writer_class_passes_the_exception_if_the_writer_throws_other_exception() { 
     143    function test_export_xml_using_writer_class_returns_wp_error_if_the_writer_throws_wxr_exception() { 
     144        $export = new WP_WXR_Export(); 
     145        $this->assertTrue( is_wp_error( $export->export_xml_using_writer_class( 'Test_WP_WXR_Stub_Writer_Throws_WXR_Exception' ) ) ); 
     146    } 
     147 
     148    function test_export_xml_using_writer_class_passes_the_exception_if_the_writer_throws_other_exception() { 
    149149        $this->setExpectedException( 'Exception' ); 
    150150        $export = new WP_WXR_Export(); 
    151         $export->export_using_writer_class( 'Test_WP_WXR_Stub_Writer_Throws_Other_Exception' ); 
     151        $export->export_xml_using_writer_class( 'Test_WP_WXR_Stub_Writer_Throws_Other_Exception' ); 
    152152    } 
    153153 
Note: See TracChangeset for help on using the changeset viewer.