File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -16,3 +16,32 @@ Feature: Manage network-wide custom fields.
1616 This is not a multisite install
1717 """
1818 And the return code should be 1
19+
20+ # TODO: FIXME
21+ Scenario : Network meta is actually network options
22+ Given a WP multisite install
23+
24+ When I run `wp eval 'update_network_option( 1, "mykey", "123" );' `
25+ And I run `wp eval 'echo get_network_option( 1, "mykey" );' `
26+ Then STDOUT should be:
27+ """
28+ 123
29+ """
30+
31+ When I run `wp network meta update 1 mykey 456`
32+ Then STDOUT should be:
33+ """
34+ Success: Updated custom field 'mykey'.
35+ """
36+
37+ When I run `wp network meta get 1 mykey`
38+ Then STDOUT should be:
39+ """
40+ 456
41+ """
42+
43+ When I run `wp eval 'echo get_network_option( 1, "mykey" );' `
44+ Then STDOUT should be:
45+ """
46+ 456
47+ """
You can’t perform that action at this time.
0 commit comments