Skip to content
Snippets Groups Projects
Commit 220dec2c authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Added [VarbaseContext] for behat testing

parent 3d01407a
No related branches found
No related tags found
No related merge requests found
......@@ -6,5 +6,5 @@ default:
Drupal\DrupalExtension:
drupal:
# This assumes that we're running Behat from within
# DRUPAL_ROOT/profiles/lightning.
# DRUPAL_ROOT/profiles/varbase.
drupal_root: '../../'
......@@ -4,6 +4,7 @@ default:
paths:
- %paths.base%/tests/features
contexts:
- VarbaseContext
- Drupal\DrupalExtension\Context\DrupalContext
- Drupal\DrupalExtension\Context\MinkContext
- Drupal\DrupalExtension\Context\MessageContext
......
......@@ -2,7 +2,7 @@
/**
* @file
* Contains \FeatureContext.
* Contains \VarbaseContext.
*/
use Drupal\DrupalExtension\Context\RawDrupalContext;
......@@ -11,7 +11,7 @@ use Behat\Behat\Context\SnippetAcceptingContext;
/**
* Defines application features from the specific context.
*/
class FeatureContext extends RawDrupalContext implements SnippetAcceptingContext {
class VarbaseContext extends RawDrupalContext implements SnippetAcceptingContext {
/**
* #varbase : To authenticat a user with a gavin username and password on the spot.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment