Skip to content

Commit 14bb30e

Browse files
committed
Fix tests.
1 parent 8a3c34e commit 14bb30e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/Functional/OrgCommandsTest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,11 @@ public function testOrgSiteListCommandWithLabelFilter()
198198
{
199199
$partial_site_name = substr($this->getSiteName(), 0, -1);
200200
$orgSites = $this->terminusJsonResponse(
201-
"org:site:list --fields=id,label --filter='label*=" . $partial_site_name . "' " . $this->getOrg()
201+
sprintf(
202+
"org:site:list --fields=id,label --filter='label*=%s' %s",
203+
$partial_site_name,
204+
$this->getOrg()
205+
)
202206
);
203207
$this->assertIsArray(
204208
$orgSites,

0 commit comments

Comments
 (0)