Skip to content

Commit

Permalink
adjusting sitename
Browse files Browse the repository at this point in the history
  • Loading branch information
stovak committed Sep 17, 2024
1 parent ae763bf commit 87320b3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/Functional/SiteCommandsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,13 @@ public function testSiteInfoNoArgCommand()

public function testSiteLabelCommand()
{
$label = 'test-label';
$label = uniqid('test label ');
$siteName = $this->getSiteName();
if (empty($siteName) || empty($label)) {
$this->markTestSkipped('No site found to test label command');
}
$this->terminus(
sprintf('site:label %s %s', $this->mockSiteName, $label),
sprintf('site:label %s %s', $siteName, $label),
['--yes']
);
$siteInfo = $this->terminusJsonResponse(sprintf('site:info %s', $this->mockSiteName));
Expand Down

0 comments on commit 87320b3

Please sign in to comment.