Skip to content

Commit c4f7ef4

Browse files
Copilotswissspidy
andauthored
Fix test: assert vendor/autoload.php does not exist instead of checking contents
Agent-Logs-Url: https://github.com/wp-cli/package-command/sessions/7bc70ad5-73a0-45a9-b337-7be724bfffcb Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
1 parent 538cad5 commit c4f7ef4

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

features/package-install.feature

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,10 +1437,7 @@ Feature: Install WP-CLI packages
14371437
Error: Invalid package name '..':
14381438
"""
14391439
And STDOUT should be empty
1440-
And the {PACKAGE_PATH}vendor/autoload.php file should not contain:
1441-
"""
1442-
COMPROMISED
1443-
"""
1440+
And the {PACKAGE_PATH}vendor/autoload.php file should not exist
14441441
And the {PACKAGE_PATH}local directory should not exist
14451442
14461443
@github-api

0 commit comments

Comments
 (0)