Skip to content

Commit 2dbb642

Browse files
committed
Add Behat\Gherkin\Node\TableNode namespace for instanceof TableNode
At line 67, we currently check `instanceof Tablenode`, but since the class isn't introduced with `use` we check for `instanceof Drupal\DrupalExtension\Context` which doesn't exist. This fixes that (but still doesn't quite fix transforming random tokens in TableNode values).
1 parent 07a219a commit 2dbb642

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Drupal/DrupalExtension/Context/RandomContext.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Drupal\DrupalExtension\Context;
44

55
use Behat\Behat\Hook\Scope\ScenarioScope;
6+
use Behat\Gherkin\Node\TableNode;
67

78
/**
89
* Class RandomContext

0 commit comments

Comments
 (0)