diff --git a/src/Commands/Site/LabelCommand.php b/src/Commands/Site/LabelCommand.php index 80b7cb626..34d6e2bb0 100644 --- a/src/Commands/Site/LabelCommand.php +++ b/src/Commands/Site/LabelCommand.php @@ -24,7 +24,7 @@ class LabelCommand extends SiteCommand * @authorize * * @command site:label:set - * @alias site:label-set + * @alias set-label * @alias slbl * * @param string $site_name Site name diff --git a/tests/Functional/SiteCommandsTest.php b/tests/Functional/SiteCommandsTest.php index 7548209d3..ab85c7aa0 100644 --- a/tests/Functional/SiteCommandsTest.php +++ b/tests/Functional/SiteCommandsTest.php @@ -139,7 +139,7 @@ public function testSiteLabelCommand() $this->assertArrayHasKey('label', $siteInfo); $this->assertEquals($label, $siteInfo['label']); // Change it back - $command = sprintf('site:label %s "%s"', $this->getSiteName(), $this->getSiteName()); + $command = sprintf('site:label:set %s "%s"', $this->getSiteName(), $this->getSiteName()); $this->terminus( $command, ['--yes']