Changeset 48937 for trunk/tests/phpunit/tests/xmlrpc/wp/setOptions.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/wp/setOptions.php
r47122 r48937 14 14 15 15 update_option( 'default_comment_status', 'closed' ); 16 $this->assert Equals( 'closed', get_option( 'default_comment_status' ) );16 $this->assertSame( 'closed', get_option( 'default_comment_status' ) ); 17 17 $result = $this->myxmlrpcserver->wp_setOptions( 18 18 array( … … 28 28 29 29 $this->assertInternalType( 'array', $result ); 30 $this->assert Equals( $escaped_string_with_quote, $result['blog_title']['value'] );31 $this->assert Equals( 'open', $result['default_comment_status']['value'] );30 $this->assertSame( $escaped_string_with_quote, $result['blog_title']['value'] ); 31 $this->assertSame( 'open', $result['default_comment_status']['value'] ); 32 32 } 33 33 }
Note: See TracChangeset
for help on using the changeset viewer.