Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions tests/acceptance/bootstrap/CliContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -479,21 +479,3 @@ public function cleanUploadsSessions(): void {
$response = CliHelper::runCommand($body);
Assert::assertEquals("200", $response->getStatusCode(), "Failed to clean upload sessions");
}

/**
* @When /^the administrator triggers "([^"]*)" email notifications using the CLI$/
*
* @param string $interval
*
* @return void
* @throws GuzzleException
*/
public function theAdministratorTriggersEmailNotificationsUsingTheCLI(string $interval): void {
$command = "notifications send-email --$interval";
$body = [
"command" => $command
];

$this->featureContext->setResponse(CliHelper::runCommand($body));
}
}