File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -444,6 +444,9 @@ private function addBuiltInCommandsAndHooks()
444444 'Pantheon \\Terminus \\Commands \\Workflow \\WaitCommand ' ,
445445 'Pantheon \\Terminus \\Commands \\Workflow \\WatchCommand '
446446 ];
447+
448+ // Add in any static additions not handled by 'composer update-class-lists'
449+ $ this ->commands [] = 'Consolidation \\Filter \\Hooks \\FilterHooks ' ;
447450 }
448451
449452 /**
Original file line number Diff line number Diff line change @@ -60,6 +60,19 @@ public function testSiteOrgListCommand()
6060 $ this ->assertGreaterThan (0 , count ($ orgList ));
6161 }
6262
63+ /**
64+ * @test
65+ * @covers \Consolidation\Filter\Hooks\FilterHooks
66+ *
67+ * @group site
68+ * @group short
69+ */
70+ public function testSiteListFilterOption ()
71+ {
72+ $ siteListHelpOutput = $ this ->terminus ('help site:list ' );
73+ $ this ->assertStringContainsString ('--filter[=FILTER] ' , $ siteListHelpOutput );
74+ }
75+
6376 /**
6477 * Test site:create command.
6578 *
You can’t perform that action at this time.
0 commit comments