Skip to content

Commit 4423f14

Browse files
committed
Testing behat directly in the github acion, just great.
1 parent 86630f0 commit 4423f14

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

features/db-columns.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ Feature: Display information about a given table.
4343

4444
Scenario: Display information about a non default WordPress table
4545
Given a WP install
46-
And I run `wp db query "CREATE TABLE not_wp ( id int(11) unsigned NOT NULL AUTO_INCREMENT, awesome_stuff TEXT, PRIMARY KEY (id) );"`
46+
And I run `wp db query "CREATE TABLE not_wp ( id int(5) unsigned NOT NULL AUTO_INCREMENT, awesome_stuff TEXT, PRIMARY KEY (id) );"`
4747

4848
When I try `wp db columns not_wp`
4949
Then STDOUT should be a table containing rows:
50-
| Field | Type | Null | Key | Default | Extra |
51-
| id | int(11) unsigned | NO | PRI | | auto_increment |
52-
| awesome_stuff | text | YES | | | |
50+
| Field | Type | Null | Key | Default | Extra |
51+
| id | int unsigned | NO | PRI | | auto_increment |
52+
| awesome_stuff | text | YES | | | |

0 commit comments

Comments
 (0)