Skip to content

Commit

Permalink
Merge pull request #6 from integratedexperts/feature/deps-update
Browse files Browse the repository at this point in the history
Feature/deps update
  • Loading branch information
AlexSkrypnyk authored Jun 29, 2017
2 parents c36119e + c955805 commit ea26bdc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
],
"require": {
"behat/behat": "~3.1.0-rc2"
"behat/behat": ">=3.3.1"
},
"require-dev": {
"squizlabs/php_codesniffer": "2.*",
Expand Down
2 changes: 1 addition & 1 deletion tests/behat/features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public static function cleanTestFolders()
*/
public function prepareTestFolders()
{
$dir = sys_get_temp_dir().DIRECTORY_SEPARATOR.'behat'.DIRECTORY_SEPARATOR.md5(microtime() * rand(0, 10000));
$dir = sys_get_temp_dir().DIRECTORY_SEPARATOR.'behat'.DIRECTORY_SEPARATOR.md5(rand(0, 10000));

mkdir($dir.'/features/bootstrap/i18n', 0777, true);
mkdir($dir.'/junit');
Expand Down
10 changes: 6 additions & 4 deletions tests/behat/features/format-progress-fail.feature
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,13 @@ Feature: behat-format-progress-fail
--- Failed steps:
Then I should have 3 apples # features/apples.feature:11
Failed asserting that 2 matches expected 3.
001 Scenario: I'm little hungry # features/apples.feature:9
Then I should have 3 apples # features/apples.feature:11
Failed asserting that 2 matches expected 3.
Then I should have 8 apples # features/apples.feature:25
Failed asserting that 7 matches expected 8.
002 Example: | 0 | 4 | 8 | # features/apples.feature:30
Then I should have 8 apples # features/apples.feature:25
Failed asserting that 7 matches expected 8.
7 scenarios (3 passed, 2 failed, 2 undefined)
25 steps (20 passed, 2 failed, 3 undefined)
Expand Down

0 comments on commit ea26bdc

Please sign in to comment.