@@ -69,6 +69,9 @@ discard block |
||
69 | 69 | $this->assertTrue( (bool) $has_action ); |
70 | 70 | } |
71 | 71 | |
72 | + /** |
|
73 | + * @param string $new_version |
|
74 | + */ |
|
72 | 75 | function new_plugin_response( $new_version ) { |
73 | 76 | return (object) array( |
74 | 77 | 'response' => array( |
@@ -131,6 +134,9 @@ discard block |
||
131 | 134 | $this->assertTrue( (bool) $has_action ); |
132 | 135 | } |
133 | 136 | |
137 | + /** |
|
138 | + * @param string $new_version |
|
139 | + */ |
|
134 | 140 | public function new_theme_response( $new_version ) { |
135 | 141 | return (object) array( |
136 | 142 | 'response' => array( |
@@ -312,6 +312,10 @@ |
||
312 | 312 | } |
313 | 313 | } |
314 | 314 | |
315 | + /** |
|
316 | + * @param string $expected_meta_key |
|
317 | + * @param integer $expected_meta_value |
|
318 | + */ |
|
315 | 319 | private function assertHasObjectMetaValue( $metas, $order_item_id, $expected_meta_key, $expected_meta_value ) { |
316 | 320 | $has_meta_entry = false; |
317 | 321 | foreach( $metas as $meta ) { |
@@ -1032,6 +1032,9 @@ |
||
1032 | 1032 | return $return; |
1033 | 1033 | } |
1034 | 1034 | |
1035 | + /** |
|
1036 | + * @param string $slug |
|
1037 | + */ |
|
1035 | 1038 | private function ensure_synced_taxonomy( $store, $slug, $type = 'post' ) { |
1036 | 1039 | register_taxonomy( |
1037 | 1040 | $slug, |