-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
marek
committed
Sep 22, 2023
1 parent
2fafc7a
commit c5e88c4
Showing
9 changed files
with
87 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
namespace Lexik\Bundle\CronFileGeneratorBundle\Exception; | ||
|
||
class WrongConsoleBinPathException extends \Exception | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ public function testInit() | |
$this->assertEquals('staging', $configuration->getEnv()); | ||
$this->assertEquals('path/to/cron_file', $configuration->getOutpath()); | ||
$this->assertSame('[email protected]', $configuration->getMailto()); | ||
$this->assertTrue($configuration->getCheckAbsolutePath()); | ||
|
||
/** @var Cron $cron */ | ||
foreach ($configuration->getCrons() as $cron) { | ||
|
@@ -135,6 +136,10 @@ private function getFullConfig() | |
'staging' => 'path/to/staging', | ||
'prod' => 'path/to/prod', | ||
], | ||
'check_absolute_path' => [ | ||
'staging' => true, | ||
'prod' => false, | ||
], | ||
'output_path' => 'path/to/cron_file', | ||
'crons' => [ | ||
[ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters