random improvements (#5506)
* fix order of destroying form elements * API documentation - fixes #1949 * make command path independent * use PhpSubprocess to execute migrations * allow to configure optional SAML attributes * fix deprecation * unify wording of exported state - fixes #5392
This commit is contained in:
@@ -23,7 +23,7 @@ class ResetDevelopmentCommandTest extends KernelTestCase
|
||||
{
|
||||
$kernel = self::bootKernel();
|
||||
$application = new Application($kernel);
|
||||
$application->add(new ResetDevelopmentCommand('dev'));
|
||||
$application->add(new ResetDevelopmentCommand('dev', __DIR__ . '/../../'));
|
||||
|
||||
self::assertTrue($application->has('kimai:reset:dev'));
|
||||
$command = $application->find('kimai:reset:dev');
|
||||
@@ -32,7 +32,7 @@ class ResetDevelopmentCommandTest extends KernelTestCase
|
||||
|
||||
public function testCommandNameIsNotEnabledInProd(): void
|
||||
{
|
||||
$sut = new ResetDevelopmentCommand('prod');
|
||||
$sut = new ResetDevelopmentCommand('prod', __DIR__ . '/../../');
|
||||
self::assertFalse($sut->isEnabled());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user