diff --git a/behat.yml b/behat.yml index ba1f0b9..2f7a646 100644 --- a/behat.yml +++ b/behat.yml @@ -3,7 +3,7 @@ default: features: features bootstrap: %behat.paths.features%/contexts context: - class: FeatureContext + class: Silo\Context\FeatureContext parameters: debugDoctrine: false coverage: false @@ -13,7 +13,7 @@ coverage: features: features bootstrap: %behat.paths.features%/contexts context: - class: FeatureContext + class: Silo\Context\FeatureContext parameters: debugDoctrine: false coverage: true \ No newline at end of file diff --git a/composer.json b/composer.json index 251f4da..d91705b 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,8 @@ }, "autoload": { "psr-4": { - "Silo\\": "server" + "Silo\\": "server", + "Silo\\Context\\": "features/contexts" } } } diff --git a/features/contexts/AppAwareContextInterface.php b/features/contexts/AppAwareContextInterface.php index d10fc41..4e8f691 100644 --- a/features/contexts/AppAwareContextInterface.php +++ b/features/contexts/AppAwareContextInterface.php @@ -1,5 +1,7 @@