Changeset 51331 for trunk/tests/phpunit/tests/general/wpGetArchives.php
- Timestamp:
- 07/05/2021 05:21:53 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/general/wpGetArchives.php
r50339 r51331 32 32 ) 33 33 ); 34 $this->assertI nternalType( 'string',$result );34 $this->assertIsString( $result ); 35 35 $time1 = wp_cache_get( 'last_changed', 'posts' ); 36 36 $this->assertNotEmpty( $time1 ); … … 46 46 ) 47 47 ); 48 $this->assertI nternalType( 'string',$result );48 $this->assertIsString( $result ); 49 49 $this->assertSame( $time1, wp_cache_get( 'last_changed', 'posts' ) ); 50 50 $this->assertSame( $num_queries, $wpdb->num_queries ); … … 58 58 ) 59 59 ); 60 $this->assertI nternalType( 'string',$result );60 $this->assertIsString( $result ); 61 61 $this->assertSame( $time1, wp_cache_get( 'last_changed', 'posts' ) ); 62 62 $this->assertSame( $num_queries + 1, $wpdb->num_queries ); … … 72 72 ) 73 73 ); 74 $this->assertI nternalType( 'string',$result );74 $this->assertIsString( $result ); 75 75 $this->assertSame( $time1, wp_cache_get( 'last_changed', 'posts' ) ); 76 76 $this->assertSame( $num_queries, $wpdb->num_queries ); … … 85 85 ) 86 86 ); 87 $this->assertI nternalType( 'string',$result );87 $this->assertIsString( $result ); 88 88 $this->assertSame( $time1, wp_cache_get( 'last_changed', 'posts' ) ); 89 89 $this->assertSame( $num_queries + 1, $wpdb->num_queries ); … … 98 98 ) 99 99 ); 100 $this->assertI nternalType( 'string',$result );100 $this->assertIsString( $result ); 101 101 $this->assertSame( $time1, wp_cache_get( 'last_changed', 'posts' ) ); 102 102 $this->assertSame( $num_queries, $wpdb->num_queries ); … … 109 109 ) 110 110 ); 111 $this->assertI nternalType( 'string',$result );111 $this->assertIsString( $result ); 112 112 $this->assertSame( $time1, wp_cache_get( 'last_changed', 'posts' ) ); 113 113 $this->assertSame( $num_queries + 1, $wpdb->num_queries ); … … 122 122 ) 123 123 ); 124 $this->assertI nternalType( 'string',$result );124 $this->assertIsString( $result ); 125 125 $this->assertSame( $time1, wp_cache_get( 'last_changed', 'posts' ) ); 126 126 $this->assertSame( $num_queries, $wpdb->num_queries ); … … 133 133 ) 134 134 ); 135 $this->assertI nternalType( 'string',$result );135 $this->assertIsString( $result ); 136 136 $this->assertSame( $time1, wp_cache_get( 'last_changed', 'posts' ) ); 137 137 $this->assertSame( $num_queries + 1, $wpdb->num_queries ); … … 146 146 ) 147 147 ); 148 $this->assertI nternalType( 'string',$result );148 $this->assertIsString( $result ); 149 149 $this->assertSame( $time1, wp_cache_get( 'last_changed', 'posts' ) ); 150 150 $this->assertSame( $num_queries, $wpdb->num_queries ); … … 157 157 ) 158 158 ); 159 $this->assertI nternalType( 'string',$result );159 $this->assertIsString( $result ); 160 160 $this->assertSame( $time1, wp_cache_get( 'last_changed', 'posts' ) ); 161 161 $this->assertSame( $num_queries + 1, $wpdb->num_queries ); … … 170 170 ) 171 171 ); 172 $this->assertI nternalType( 'string',$result );172 $this->assertIsString( $result ); 173 173 $this->assertSame( $time1, wp_cache_get( 'last_changed', 'posts' ) ); 174 174 $this->assertSame( $num_queries, $wpdb->num_queries );
Note: See TracChangeset
for help on using the changeset viewer.