Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for SysConfig setting UnitTest::DefaultDirectory #2067

Closed
bschmalhofer opened this issue Dec 25, 2022 · 1 comment
Closed
Labels
good first issue Good for newcomers unittests Requests wrt unittests
Milestone

Comments

@bschmalhofer
Copy link
Contributor

In ./Kernel/System/Console/Command/Dev/UnitTest/Run.pm there is support for `UnitTest::DefaultDirectory'. This SysConfig setting isn't documented anywhere and AFAIK not used anywhere. I propose to remove it.

    # Allow specification of a default directory to limit test execution.
    # TODO: eliminate this
    my $DefaultDirectory = $Kernel::OM->Get('Kernel::Config')->Get('UnitTest::DefaultDirectory');

See also #2064.

@bschmalhofer bschmalhofer added good first issue Good for newcomers unittests Requests wrt unittests labels Dec 25, 2022
@bschmalhofer bschmalhofer added this to the OTOBO 11.0 milestone Dec 25, 2022
@bschmalhofer bschmalhofer changed the title Remove support for SysConfig setting UnitTest::DefaultDirector Remove support for SysConfig setting UnitTest::DefaultDirectory Dec 25, 2022
bschmalhofer added a commit that referenced this issue Dec 25, 2022
…irectory

Issue #2067: remove support for UnitTest::DefaultDirectory
@bschmalhofer
Copy link
Contributor Author

UnitTest::DefaultDirectory is no longer considered. Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers unittests Requests wrt unittests
Projects
None yet
Development

No branches or pull requests

1 participant