File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -211,15 +211,15 @@ Feature: Managed the WordPress object cache
211211 When I run `wp cache supports set_multiple`
212212 Then the return code should be 0
213213
214- Scenario : Nested values can be retrieved at any depth.
214+ Scenario : Nested values from cache can be retrieved at any depth.
215215 Given a WP install
216216 And a wp-content/mu-plugins/test-harness.php file:
217217 """
218218 <?php
219219 $set_foo = function(){
220220 wp_cache_set( 'my_key', ['foo' => 'bar'] );
221221 wp_cache_set( 'my_key_2', ['foo' => ['bar' => 'baz']] );
222- wp_cache_set( 'my_key_custom ', ['foo_custom ' => [ 'bar_custom' => 'baz_custom'] ], 'my_custom_group' );
222+ wp_cache_set( 'my_key_3 ', ['foo ' => 'bar_custom'], 'my_custom_group' );
223223 };
224224
225225 WP_CLI::add_hook( 'before_invoke:cache pluck', $set_foo );
@@ -237,8 +237,8 @@ Feature: Managed the WordPress object cache
237237 baz
238238 """
239239
240- When I try `wp cache pluck my_key_custom foo_custom bar_custom --group=my_custom_group`
240+ When I try `wp cache pluck my_key_3 foo --group=my_custom_group`
241241 Then STDOUT should be:
242242 """
243- baz_custom
243+ bar_custom
244244 """
You can’t perform that action at this time.
0 commit comments