Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / behat / gherkin / tests / Behat / Gherkin / Keywords / CucumberKeywordsTest.php
diff --git a/vendor/behat/gherkin/tests/Behat/Gherkin/Keywords/CucumberKeywordsTest.php b/vendor/behat/gherkin/tests/Behat/Gherkin/Keywords/CucumberKeywordsTest.php
deleted file mode 100644 (file)
index b2b0783..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-
-namespace Tests\Behat\Gherkin\Keywords;
-
-use Behat\Gherkin\Keywords\CucumberKeywords;
-use Behat\Gherkin\Node\StepNode;
-use Symfony\Component\Yaml\Yaml;
-
-class CucumberKeywordsTest extends KeywordsTest
-{
-    protected function getKeywords()
-    {
-        return new CucumberKeywords(__DIR__ . '/../Fixtures/i18n.yml');
-    }
-
-    protected function getKeywordsArray()
-    {
-        return Yaml::parse(file_get_contents(__DIR__ . '/../Fixtures/i18n.yml'));
-    }
-
-    protected function getSteps($keywords, $text, &$line, $keywordType)
-    {
-        $steps = array();
-        foreach (explode('|', mb_substr($keywords, 2)) as $keyword) {
-            if (false !== mb_strpos($keyword, '<')) {
-                $keyword = mb_substr($keyword, 0, -1);
-            }
-
-            $steps[] = new StepNode($keyword, $text, array(), $line++, $keywordType);
-        }
-
-        return $steps;
-    }
-}