Skip to content

Commit 5b32b06

Browse files
authored
Include scenarios for both gb and tb
Add scenarios for both gb and tb.
1 parent f6a0b4e commit 5b32b06

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

features/db-size.feature

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,15 @@ Feature: Display database size
4949

5050
When I run `wp db size --size_format=mb`
5151
Then STDOUT should be a number
52+
53+
Scenario: Display only database size in gigabytes for a WordPress install
54+
Given a WP install
55+
56+
When I run `wp db size --size_format=gb`
57+
Then STDOUT should be a number
58+
59+
Scenario: Display only database size in terabytes for a WordPress install
60+
Given a WP install
61+
62+
When I run `wp db size --size_format=tb`
63+
Then STDOUT should be a number

0 commit comments

Comments
 (0)