diff --git a/.github/workflows/gorgone.yml b/.github/workflows/gorgone.yml index 86dd06681ee..cb78783d9ea 100644 --- a/.github/workflows/gorgone.yml +++ b/.github/workflows/gorgone.yml @@ -95,7 +95,7 @@ jobs: if: failure() uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 with: - name: plugin-installation-${{ matrix.distrib }} + name: centreon-collect-perl-unit-tests-${{ matrix.distrib }} path: ./lastlog.jsonl retention-days: 1 diff --git a/gorgone/tests/unit/class/core.t b/gorgone/tests/unit/class/core.t index b4a3224c44b..c2df64eef92 100644 --- a/gorgone/tests/unit/class/core.t +++ b/gorgone/tests/unit/class/core.t @@ -1,4 +1,11 @@ #!/usr/bin/perl + +package centreon::common::centreonvault; +sub get_secret; +sub new; + +package main; + use strict; use warnings; @@ -10,7 +17,6 @@ use FindBin; use lib "$FindBin::Bin/../../../"; use gorgone::class::script; use gorgone::class::core; -use centreon::common::centreonvault; sub create_data_set { my $set = {};