Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix(test): fix random fails on virtual metric test (#11524)
Browse files Browse the repository at this point in the history
Refs: MON-14359
  • Loading branch information
kduret authored Aug 5, 2022
1 parent 8181c45 commit 8f426cf
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"secure-http": false,
"platform": {
"php": "8.0"
},
"allow-plugins": {
"symfony/flex": true
}
},
"require-dev": {
Expand All @@ -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",
Expand Down
23 changes: 11 additions & 12 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions features/VirtualMetricHandle.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8f426cf

Please sign in to comment.