Changeset 43571 for trunk/tests/phpunit/tests/post/getPages.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/getPages.php
r42343 r43571 108 108 public function test_cache_should_be_invalidated_by_add_post_meta() { 109 109 $posts = self::factory()->post->create_many( 110 2, array( 110 2, 111 array( 111 112 'post_type' => 'page', 112 113 ) … … 143 144 public function test_cache_should_be_invalidated_by_update_post_meta() { 144 145 $posts = self::factory()->post->create_many( 145 2, array( 146 2, 147 array( 146 148 'post_type' => 'page', 147 149 ) … … 179 181 public function test_cache_should_be_invalidated_by_delete_post_meta() { 180 182 $posts = self::factory()->post->create_many( 181 2, array( 183 2, 184 array( 182 185 'post_type' => 'page', 183 186 ) … … 215 218 public function test_cache_should_be_invalidated_by_delete_post_meta_by_key() { 216 219 $posts = self::factory()->post->create_many( 217 2, array( 220 2, 221 array( 218 222 'post_type' => 'page', 219 223 ) … … 256 260 257 261 $this->assertEquals( 258 1, count( 262 1, 263 count( 259 264 get_pages( 260 265 array( … … 266 271 ); 267 272 $this->assertEquals( 268 1, count( 273 1, 274 count( 269 275 get_pages( 270 276 array( … … 619 625 $type = 'taco'; 620 626 register_post_type( 621 $type, array( 627 $type, 628 array( 622 629 'hierarchical' => true, 623 630 'public' => true,
Note: See TracChangeset
for help on using the changeset viewer.