Changes between Initial Version and Version 1 of Ticket #35075, comment 12
- Timestamp:
- 01/07/2016 04:27:14 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35075, comment 12
initial v1 2 2 > OK. It would also be nice to have unit tests demonstrating that the cache is sensitive to custom query vars. 3 3 4 I went to write the test , andinterestingly enough, I found an "inverse" test in tests/comment/query.php: test_comment_cache_key_should_ignore_custom_params which relates to #22400. I see that @wonderboymusic added the `wp_array_slice_assoc` in [28460].4 I went to write the test and, interestingly enough, I found an "inverse" test in tests/comment/query.php: test_comment_cache_key_should_ignore_custom_params which relates to #22400. I see that @wonderboymusic added the `wp_array_slice_assoc` in [28460]. 5 5 6 6 This tests asserts that only one query is performed when a custom query_var is introduced, when I would assert that there should be two. What's the protocol in this case? Should I modify/remove the existing test?