Changeset 42343 for trunk/tests/phpunit/tests/xmlrpc/basic.php
- Timestamp:
- 11/30/2017 11:09:33 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/basic.php
r40417 r42343 39 39 function test_multicall_invalidates_all_calls_after_invalid_call() { 40 40 $editor_id = $this->make_user_by_role( 'editor' ); 41 $post_id = self::factory()->post->create( array( 42 'post_author' => $editor_id, 43 ) ); 41 $post_id = self::factory()->post->create( 42 array( 43 'post_author' => $editor_id, 44 ) 45 ); 44 46 45 47 $method_calls = array( … … 99 101 */ 100 102 function test_isStruct_on_non_numerically_indexed_array() { 101 $value 103 $value = new IXR_Value( array( '0.0' => 100 ) ); 102 104 103 105 $return = "<struct>\n"; 104 106 $return .= " <member><name>0.0</name><value><int>100</int></value></member>\n"; 105 $return .= "</struct>";107 $return .= '</struct>'; 106 108 107 109 $this->assertXmlStringEqualsXmlString( $return, $value->getXML() );
Note: See TracChangeset
for help on using the changeset viewer.