diff --git a/composer.json b/composer.json index 515ac647660..c7e5b260b79 100644 --- a/composer.json +++ b/composer.json @@ -7,6 +7,9 @@ "secure-http": false, "platform": { "php": "8.0" + }, + "allow-plugins": { + "symfony/flex": true } }, "require-dev": { @@ -15,7 +18,7 @@ "behat/mink": "dev-master#a534fe7dac9525e8e10ca68e737c3d7e5058ec83", "behat/mink-extension": "^2.3", "behat/mink-selenium2-driver": "^1.4", - "centreon/centreon-test-lib": "dev-master", + "centreon/centreon-test-lib": "21.10.x-dev", "phpstan/phpstan": "^0.12.59", "phpstan/phpstan-beberlei-assert": "^0.12", "phpunit/phpunit": "^9.5", diff --git a/composer.lock b/composer.lock index e16db905d28..a3464c9d07c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "066af2fa4dca18f83ca6eb4393bdf972", + "content-hash": "a91b996f4b3a223ae81993584838bcd9", "packages": [ { "name": "beberlei/assert", @@ -6835,16 +6835,16 @@ }, { "name": "centreon/centreon-test-lib", - "version": "dev-master", + "version": "21.10.x-dev", "source": { "type": "git", "url": "https://github.com/centreon/centreon-test-lib.git", - "reference": "8816d93fc20e7ad2796dd44b99d43b3225edfed6" + "reference": "b2319b653c1a552c1b9c510e203c06e521e3e3a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/centreon/centreon-test-lib/zipball/8816d93fc20e7ad2796dd44b99d43b3225edfed6", - "reference": "8816d93fc20e7ad2796dd44b99d43b3225edfed6", + "url": "https://api.github.com/repos/centreon/centreon-test-lib/zipball/b2319b653c1a552c1b9c510e203c06e521e3e3a9", + "reference": "b2319b653c1a552c1b9c510e203c06e521e3e3a9", "shasum": "" }, "require": { @@ -6863,14 +6863,13 @@ "behat/mink": "Browser controller/emulator abstraction for PHP", "behat/mink-selenium2-driver": "Mink driver using Selenium" }, - "default-branch": true, "type": "library", "autoload": { "psr-4": { - "Centreon\\Test\\Behat\\": "src/behat", + "Centreon\\PHPStan\\": "src/PHPStan", "Centreon\\Test\\Mock\\": "src/mock", - "Centreon\\Test\\Traits\\": "src/traits", - "Centreon\\PHPStan\\": "src/PHPStan" + "Centreon\\Test\\Behat\\": "src/behat", + "Centreon\\Test\\Traits\\": "src/traits" } }, "notification-url": "https://packagist.org/downloads/", @@ -6892,9 +6891,9 @@ ], "support": { "issues": "https://github.com/centreon/centreon-test-lib/issues", - "source": "https://github.com/centreon/centreon-test-lib/tree/master" + "source": "https://github.com/centreon/centreon-test-lib/tree/21.10.x" }, - "time": "2021-10-19T14:30:15+00:00" + "time": "2022-08-05T09:53:23+00:00" }, { "name": "guzzlehttp/guzzle", @@ -10703,5 +10702,5 @@ "platform-overrides": { "php": "8.0" }, - "plugin-api-version": "2.1.0" + "plugin-api-version": "2.3.0" } diff --git a/features/VirtualMetricHandle.feature b/features/VirtualMetricHandle.feature index d6fc325ee21..9e128d34b64 100644 --- a/features/VirtualMetricHandle.feature +++ b/features/VirtualMetricHandle.feature @@ -5,16 +5,16 @@ Feature: Virtual Metric Handle Background: Given I am logged in a Centreon server with configured metrics - + Scenario: Create a virtual metric When I add a virtual metric Then all properties are saved - + Scenario: Duplicate a virtual metric Given an existing virtual metric When I duplicate a virtual metric Then all properties are copied except the name - + Scenario: Delete a virtual metric Given an existing virtual metric When I delete a virtual metric