Skip to content

Commit 7e15ff0

Browse files
committed
Simplify and fix test
1 parent 1862db6 commit 7e15ff0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

features/core-update.feature

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -388,9 +388,8 @@ Feature: Update WordPress core
388388
Scenario: Show helpful tip when update is locked
389389
Given a WP install
390390

391-
# Create a lock option to simulate another update in progress
392-
When I run `wp option add core_updater.lock 1`
393-
And I try `wp core update --version=latest`
391+
When I run `wp option update core_updater.lock 100000000000000`
392+
And I try `wp core update --version=trunk`
394393
Then STDERR should contain:
395394
"""
396395
Another update is currently in progress. You may need to run `wp option delete core_updater.lock` after verifying another update isn't actually running.

0 commit comments

Comments
 (0)