Fixed the support of the insulated tag at the feature level

This commit is contained in:
Christophe Coevoet
2014-01-04 17:16:54 +01:00
parent 3059bc525c
commit 2c521b68ad
2 changed files with 10 additions and 1 deletions

View File

@@ -76,7 +76,7 @@ class SessionsListener implements EventSubscriberInterface
}
}
if ($scenario->hasTag('insulated')) {
if ($scenario->hasTag('insulated') || $feature->hasTag('insulated')) {
$this->mink->stopSessions();
} else {
$this->mink->resetSessions();