File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -75,16 +75,16 @@ Feature: Generate new WordPress posts
7575 """
7676
7777 Scenario : Generating posts with post_date argument with time
78- When I run `wp post generate --count=1 --post_date="2018-07-02 00:00:00 " `
78+ When I run `wp post generate --count=1 --post_date="2018-07-02 02:21:05 " `
7979 And I run `wp post list --field=post_date`
8080 Then STDOUT should contain:
8181 """
82- 2018-07-02 00:00:00
82+ 2018-07-02 02:21:05
8383 """
8484 And I run `wp post list --field=post_date_gmt`
8585 Then STDOUT should contain:
8686 """
87- 2018-07-02 00:00:00
87+ 2018-07-02 02:21:05
8888 """
8989
9090 Scenario : Generating posts with post_date_gmt argument without time
@@ -101,16 +101,16 @@ Feature: Generate new WordPress posts
101101 """
102102
103103 Scenario : Generating posts with post_date_gmt argument with time
104- When I run `wp post generate --count=1 --post_date_gmt="2018-07-04 00:00:00 " `
104+ When I run `wp post generate --count=1 --post_date_gmt="2018-07-04 12:34:56 " `
105105 And I run `wp post list --field=post_date`
106106 Then STDOUT should contain:
107107 """
108- 2018-07-04 00:00:00
108+ 2018-07-04 12:34:56
109109 """
110110 And I run `wp post list --field=post_date_gmt`
111111 Then STDOUT should contain:
112112 """
113- 2018-07-04 00:00:00
113+ 2018-07-04 12:34:56
114114 """
115115
116116 Scenario : Generating posts with post_date argument with hyphenated time
You can’t perform that action at this time.
0 commit comments