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

Issue #3100: Improved Log test by setting the log level itself. #3481

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

stefanhaerter
Copy link
Contributor

Referencing #3100

@@ -30,6 +30,13 @@ use Kernel::System::UnitTest::RegisterDriver; # Set up $Kernel::OM
subtest 'GetLogEntry() after Log()' => sub {
$Kernel::OM->ObjectsDiscard; # start on a clean slate

my $Helper = $Kernel::OM->Get('Kernel::System::UnitTest::Helper');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$ConfigObject->Set(..) might have sufficed, but using ConfigSettingChange() is fine too.

@bschmalhofer bschmalhofer merged commit 70afa30 into rel-11_0 Jun 12, 2024
1 check passed
@bschmalhofer bschmalhofer deleted the issue-#3100-log branch June 12, 2024 14:29
@bschmalhofer bschmalhofer changed the title Issue #3100: Improved Log test by setting the log leve itself. Issue #3100: Improved Log test by setting the log level itself. Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants