Skip to content

Commit 9ff6a67

Browse files
uuf6429acoulton
authored andcommitted
Fix more test paths
1 parent a1687af commit 9ff6a67

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/Cucumber/CompatibilityTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*/
3232
class CompatibilityTest extends TestCase
3333
{
34-
public const TESTDATA_PATH = __DIR__ . '/../../../../vendor/cucumber/cucumber/gherkin/testdata';
34+
public const TESTDATA_PATH = __DIR__ . '/../../vendor/cucumber/cucumber/gherkin/testdata';
3535

3636
private array $notParsingCorrectly = [
3737
'complex_background.feature' => 'Rule keyword not supported',
@@ -64,7 +64,7 @@ class CompatibilityTest extends TestCase
6464

6565
protected function setUp(): void
6666
{
67-
$arrKeywords = include __DIR__ . '/../../../../i18n.php';
67+
$arrKeywords = include __DIR__ . '/../../i18n.php';
6868
$lexer = new Lexer(new Keywords\ArrayKeywords($arrKeywords));
6969
$this->parser = new Parser($lexer);
7070
$this->loader = new CucumberNDJsonAstLoader();

tests/Keywords/CachedArrayKeywordsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ class CachedArrayKeywordsTest extends KeywordsTestCase
1717
{
1818
protected function getKeywords()
1919
{
20-
return new CachedArrayKeywords(__DIR__ . '/../../../../i18n.php');
20+
return new CachedArrayKeywords(__DIR__ . '/../../i18n.php');
2121
}
2222

2323
protected function getKeywordsArray()
2424
{
25-
return include __DIR__ . '/../../../../i18n.php';
25+
return include __DIR__ . '/../../i18n.php';
2626
}
2727

2828
protected function getSteps($keywords, $text, &$line, $keywordType)

0 commit comments

Comments
 (0)