Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
chore(behat): replace behat Symfony2 extension (#63)
Browse files Browse the repository at this point in the history
* fix .gitignore for some .phar files

* chore(behat): replace behat Symfony2 extension

* change namespaces

* .
  • Loading branch information
Kocal committed Aug 3, 2019
1 parent bfa6317 commit 92a00f2
Show file tree
Hide file tree
Showing 10 changed files with 244 additions and 181 deletions.
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
/.env.local.php
/.env.*.local
/bin/*
!/bin/.gitkeep
!/bin/console
!/bin/*.phar
!/bin/php-cs-fixer.phar
!/bin/security-checker.phar
/public/bundles/
/var/*
!/var/.gitkeep
Expand All @@ -45,6 +45,6 @@ npm-debug.log
yarn-error.log
###< symfony/webpack-encore-bundle ###

###> behat/symfony2-extension ###
behat.yml
###< behat/symfony2-extension ###
###> friends-of-behat/symfony-extension ###
/behat.yml
###< friends-of-behat/symfony-extension ###
11 changes: 4 additions & 7 deletions behat.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,15 @@ default:
contexts:
- Behat\MinkExtension\Context\MinkContext
- behatch:context:json
- Features\ExtendedBehatchRestContext
- App\Tests\Behat\ExtendedBehatchRestContext

extensions:
Behat\Symfony2Extension:
kernel:
bootstrap: tests/behat/bootstrap/bootstrap.php
class: App\Kernel
FriendsOfBehat\SymfonyExtension: ~

Behat\MinkExtension:
base_url: "http://symfony-app-template.com/"
sessions:
default:
symfony2: ~
symfony:
symfony: ~

Behatch\Extension: ~
Empty file removed bin/.gitkeep
Empty file.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"behat/mink": "dev-master",
"behat/mink-browserkit-driver": "^1.3",
"behat/mink-extension": "^2.3",
"behat/symfony2-extension": "^2.1",
"behatch/contexts": "^3.2",
"friends-of-behat/symfony-extension": "^2.0",
"hautelook/alice-bundle": "^2.5",
"phpspec/phpspec": "^5.1",
"phpstan/phpstan-doctrine": "^0.11.5",
Expand Down Expand Up @@ -70,7 +70,7 @@
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "tests/phpunit",
"Features\\": "tests/behat/bootstrap/"
"App\\Tests\\Behat\\": "tests/behat/bootstrap/"
}
},
"replace": {
Expand Down
Loading

0 comments on commit 92a00f2

Please sign in to comment.