Skip to content

Commit 06ef2e4

Browse files
committed
Update test
1 parent 51732e8 commit 06ef2e4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

features/db-size.feature

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,10 @@ Feature: Display database size
247247
@require-mysql
248248
Scenario: Display table size with right alignment
249249
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`
250252

251-
When I run `SHELL_PIPE=0 wp db size --tables --all-tables --orderby=size --order=desc --size_format=mb`
253+
When I run `SHELL_PIPE=0 wp db size --tables --all-tables --orderby=size --order=desc --size_format=kb`
252254
Then STDOUT should strictly be:
253255
"""
254256
+-------------------------+------+

0 commit comments

Comments
 (0)