HEX
Server: nginx/1.28.0
System: Linux w3c-2 6.8.0-78-generic #78-Ubuntu SMP PREEMPT_DYNAMIC Tue Aug 12 11:34:18 UTC 2025 x86_64
User: inpa_co_1 (1082)
PHP: 8.3.29
Disabled: NONE
Upload Files
File: //opt/wp-cli/wp-cli-login-command/features/login-install.feature
Feature: It can install its companion plugin.

  Scenario: The command needs to install a companion plugin to work.
    Given a WP install
    When I run `wp login install`
    Then the wp-content/plugins/wp-cli-login-server/wp-cli-login-server.php file should exist

  @flag:mu
  Scenario: The command can be installed as an Must Use plugin.
    Given a WP install
    When I run `wp login install --mu`
    Then the wp-content/mu-plugins/wp-cli-login-server.php file should exist
    And the wp-content/plugins/wp-cli-login-server/wp-cli-login-server.php file should not exist