Skip to content

Commit bfd3324

Browse files
committed
Fix more test paths
1 parent 5471ef2 commit bfd3324

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 $notParsingCorrectly = [
3737
'complex_background.feature' => 'Rule keyword not supported',
@@ -70,7 +70,7 @@ class CompatibilityTest extends TestCase
7070

7171
protected function setUp(): void
7272
{
73-
$arrKeywords = include __DIR__ . '/../../../../i18n.php';
73+
$arrKeywords = include __DIR__ . '/../../i18n.php';
7474
$lexer = new Lexer(new Keywords\ArrayKeywords($arrKeywords));
7575
$this->parser = new Parser($lexer);
7676
$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)