Changeset 34802 for trunk/tests/phpunit/tests/rewrite/numericSlugs.php
- Timestamp:
- 10/03/2015 05:14:12 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rewrite/numericSlugs.php
r32648 r34802 48 48 49 49 $this->assertQueryTrue( 'is_single', 'is_singular' ); 50 51 $wp_rewrite->set_permalink_structure('');52 50 } 53 51 … … 78 76 79 77 $this->assertEquals( '2015', url_to_postid( get_permalink( '2015' ) ) ); 80 81 $wp_rewrite->set_permalink_structure('');82 78 } 83 79 … … 99 95 100 96 $this->assertQueryTrue( 'is_single', 'is_singular' ); 101 102 $wp_rewrite->set_permalink_structure('');103 97 } 104 98 … … 118 112 119 113 $this->assertEquals( $id, url_to_postid( get_permalink( $id ) ) ); 120 121 $wp_rewrite->set_permalink_structure('');122 114 } 123 115 … … 140 132 141 133 $this->assertQueryTrue( 'is_single', 'is_singular' ); 142 143 $wp_rewrite->set_permalink_structure('');144 134 } 145 135 … … 160 150 161 151 $this->assertEquals( $id, url_to_postid( get_permalink( $id ) ) ); 162 163 $wp_rewrite->set_permalink_structure('');164 152 } 165 153 … … 182 170 183 171 $this->assertQueryTrue( 'is_single', 'is_singular' ); 184 185 $wp_rewrite->set_permalink_structure('');186 172 } 187 173 … … 202 188 203 189 $this->assertEquals( $id, url_to_postid( get_permalink( $id ) ) ); 204 205 $wp_rewrite->set_permalink_structure('');206 190 } 207 191 … … 223 207 224 208 $this->assertQueryTrue( 'is_single', 'is_singular' ); 225 226 $wp_rewrite->set_permalink_structure('');227 209 } 228 210 … … 242 224 243 225 $this->assertEquals( $id, url_to_postid( get_permalink( $id ) ) ); 244 245 $wp_rewrite->set_permalink_structure('');246 226 } 247 227 … … 263 243 264 244 $this->assertQueryTrue( 'is_single', 'is_singular' ); 265 266 $wp_rewrite->set_permalink_structure('');267 245 } 268 246 … … 282 260 283 261 $this->assertEquals( $id, url_to_postid( get_permalink( $id ) ) ); 284 285 $wp_rewrite->set_permalink_structure('');286 262 } 287 263 … … 304 280 305 281 $this->assertQueryTrue( 'is_single', 'is_singular' ); 306 307 $wp_rewrite->set_permalink_structure('');308 282 } 309 283 … … 324 298 325 299 $this->assertEquals( $id, url_to_postid( get_permalink( $id ) ) ); 326 327 $wp_rewrite->set_permalink_structure('');328 300 } 329 301 … … 345 317 346 318 $this->assertQueryTrue( 'is_single', 'is_singular' ); 347 348 $wp_rewrite->set_permalink_structure('');349 319 } 350 320 … … 364 334 365 335 $this->assertEquals( $id, url_to_postid( get_permalink( $id ) ) ); 366 367 $wp_rewrite->set_permalink_structure('');368 336 } 369 337 … … 390 358 $this->assertTrue( $q->is_day ); 391 359 $this->assertFalse( $q->is_single ); 392 393 $wp_rewrite->set_permalink_structure('');394 360 } 395 361
Note: See TracChangeset
for help on using the changeset viewer.