File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -243,32 +243,3 @@ Feature: Display database size
243243 """
244244 wp_posts
245245 """
246-
247- @require-mysql
248- Scenario : Display table size with right alignment
249- Given a WP install
250- And I run `wp site empty --yes`
251- And I run `wp post generate --post_type=page --post_status=draft --count=100`
252-
253- When I run `SHELL_PIPE=0 wp db size --tables --all-tables --orderby=size --order=desc --size_format=kb`
254- Then STDOUT should strictly be:
255- """
256- +-------------------------+------+
257- | Name | Size |
258- +-------------------------+------+
259- | _mysql_data_types_cache | 0 MB |
260- | wp_users | 0 MB |
261- | sqlite_sequence | 0 MB |
262- | wp_usermeta | 0 MB |
263- | wp_termmeta | 0 MB |
264- | wp_terms | 0 MB |
265- | wp_term_taxonomy | 0 MB |
266- | wp_term_relationships | 0 MB |
267- | wp_commentmeta | 0 MB |
268- | wp_comments | 0 MB |
269- | wp_links | 0 MB |
270- | wp_options | 0 MB |
271- | wp_postmeta | 0 MB |
272- | wp_posts | 0 MB |
273- +-------------------------+------+
274- """
You can’t perform that action at this time.
0 commit comments