Skip to content

Commit ea13bf8

Browse files
committed
chore: Add missing getTestedVersion/getTestedLibrary
1 parent 01080e8 commit ea13bf8

24 files changed

+125
-0
lines changed

tests/Integrations/CakePHP/V2_8/CommonScenariosTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ protected static function getEnvs()
2121
]);
2222
}
2323

24+
public static function getTestedLibrary()
25+
{
26+
return 'cakephp/cakephp';
27+
}
28+
2429
/**
2530
* @dataProvider provideSpecs
2631
* @param RequestSpec $spec

tests/Integrations/CakePHP/V3_10/CommonScenariosTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ protected static function getEnvs()
2222
]);
2323
}
2424

25+
public static function getTestedLibrary()
26+
{
27+
return 'cakephp/cakephp';
28+
}
29+
2530
/**
2631
* @dataProvider provideSpecs
2732
* @param RequestSpec $spec

tests/Integrations/Drupal/V10_1/CommonScenariosTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,9 @@ protected static function getEnvs()
1515
{
1616
return array_merge(parent::getEnvs(), ['DD_SERVICE' => 'test_drupal_101']);
1717
}
18+
19+
protected static function getTestedVersion($testedLibrary)
20+
{
21+
return '10.1.3';
22+
}
1823
}

tests/Integrations/Drupal/V8_9/CommonScenariosTest.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ public static function getAppIndexScript()
1414
return __DIR__ . '/../../../Frameworks/Drupal/Version_8_9/index.php';
1515
}
1616

17+
public static function getTestedLibrary()
18+
{
19+
return 'drupal/drupal';
20+
}
21+
22+
protected static function getTestedVersion($testedLibrary)
23+
{
24+
return '8.9.21';
25+
}
26+
1727
protected static function getEnvs()
1828
{
1929
return array_merge(parent::getEnvs(), [

tests/Integrations/Drupal/V9_5/CommonScenariosTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,9 @@ protected static function getEnvs()
1515
{
1616
return array_merge(parent::getEnvs(), ['DD_SERVICE' => 'test_drupal_95']);
1717
}
18+
19+
protected static function getTestedVersion($testedLibrary)
20+
{
21+
return '9.5.11';
22+
}
1823
}

tests/Integrations/Laravel/V4/CommonScenariosTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ public static function getAppIndexScript()
1616
return __DIR__ . '/../../../Frameworks/Laravel/Version_4_2/public/index.php';
1717
}
1818

19+
public static function getTestedLibrary()
20+
{
21+
return 'laravel/framework';
22+
}
23+
1924
protected static function getEnvs()
2025
{
2126
return array_merge(parent::getEnvs(), [

tests/Integrations/Nette/V2_4/NetteTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ protected static function getEnvs()
2222
]);
2323
}
2424

25+
public static function getTestedLibrary()
26+
{
27+
return 'nette/application';
28+
}
29+
2530
/**
2631
* @dataProvider provideSpecs
2732
* @param RequestSpec $spec

tests/Integrations/Symfony/V2_3/CommonScenariosTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ public static function getAppIndexScript()
1414
return __DIR__ . '/../../../Frameworks/Symfony/Version_2_3/web/app.php';
1515
}
1616

17+
public static function getTestedLibrary()
18+
{
19+
return 'symfony/framework-bundle';
20+
}
21+
1722
protected static function getEnvs()
1823
{
1924
return array_merge(parent::getEnvs(), [

tests/Integrations/Symfony/V2_8/CommonScenariosTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ public static function getAppIndexScript()
1414
return __DIR__ . '/../../../Frameworks/Symfony/Version_2_8/web/app.php';
1515
}
1616

17+
public static function getTestedLibrary()
18+
{
19+
return 'symfony/framework-bundle';
20+
}
21+
1722
protected static function getEnvs()
1823
{
1924
return array_merge(parent::getEnvs(), [

tests/Integrations/Symfony/V3_0/CommonScenariosTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ public static function getAppIndexScript()
1414
return __DIR__ . '/../../../Frameworks/Symfony/Version_3_0/web/index.php';
1515
}
1616

17+
public static function getTestedLibrary()
18+
{
19+
return 'symfony/framework-bundle';
20+
}
21+
1722
/**
1823
* @dataProvider provideSpecs
1924
* @param RequestSpec $spec

tests/Integrations/Symfony/V3_3/CommonScenariosTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ public static function getAppIndexScript()
1414
return __DIR__ . '/../../../Frameworks/Symfony/Version_3_3/web/index.php';
1515
}
1616

17+
public static function getTestedLibrary()
18+
{
19+
return 'symfony/framework-bundle';
20+
}
21+
1722
/**
1823
* @dataProvider provideSpecs
1924
* @param RequestSpec $spec

tests/Integrations/Symfony/V3_4/CommonScenariosTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ protected static function getEnvs()
2121
]);
2222
}
2323

24+
public static function getTestedLibrary()
25+
{
26+
return 'symfony/framework-bundle';
27+
}
28+
2429
/**
2530
* @dataProvider provideSpecs
2631
* @param RequestSpec $spec

tests/Integrations/Symfony/V4_0/CommonScenariosTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ protected static function getEnvs()
2222
]);
2323
}
2424

25+
public static function getTestedLibrary()
26+
{
27+
return 'symfony/framework-bundle';
28+
}
29+
2530
/**
2631
* @dataProvider provideSpecs
2732
* @param RequestSpec $spec

tests/Integrations/Symfony/V4_2/CommonScenariosTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ protected static function getEnvs()
2222
]);
2323
}
2424

25+
public static function getTestedLibrary()
26+
{
27+
return 'symfony/framework-bundle';
28+
}
29+
2530
/**
2631
* @dataProvider provideSpecs
2732
* @param RequestSpec $spec

tests/Integrations/Symfony/V4_4/CommonScenariosTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ public static function getAppIndexScript()
1414
return __DIR__ . '/../../../Frameworks/Symfony/Version_4_4/public/index.php';
1515
}
1616

17+
public static function getTestedLibrary()
18+
{
19+
return 'symfony/framework-bundle';
20+
}
21+
1722
protected static function getEnvs()
1823
{
1924
return array_merge(parent::getEnvs(), [

tests/Integrations/Symfony/V4_4/MessengerTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ public static function getConsoleScript()
2929
return __DIR__ . '/../../../Frameworks/Symfony/Version_4_4/bin/console';
3030
}
3131

32+
public static function getTestedLibrary()
33+
{
34+
return 'symfony/messenger';
35+
}
36+
3237
protected static function getEnvs()
3338
{
3439
return array_merge(parent::getEnvs(), [

tests/Integrations/Symfony/V5_0/CommonScenariosTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ public static function getAppIndexScript()
1414
return __DIR__ . '/../../../Frameworks/Symfony/Version_5_0/public/index.php';
1515
}
1616

17+
public static function getTestedLibrary()
18+
{
19+
return 'symfony/framework-bundle';
20+
}
21+
1722
protected static function getEnvs()
1823
{
1924
return array_merge(parent::getEnvs(), [

tests/Integrations/Symfony/V5_1/CommonScenariosTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ public static function getAppIndexScript()
1414
return __DIR__ . '/../../../Frameworks/Symfony/Version_5_1/public/index.php';
1515
}
1616

17+
public static function getTestedLibrary()
18+
{
19+
return 'symfony/framework-bundle';
20+
}
21+
1722
protected static function getEnvs()
1823
{
1924
return array_merge(parent::getEnvs(), [

tests/Integrations/Symfony/V5_2/CommonScenariosTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ public static function getAppIndexScript()
1414
return __DIR__ . '/../../../Frameworks/Symfony/Version_5_2/public/index.php';
1515
}
1616

17+
public static function getTestedLibrary()
18+
{
19+
return 'symfony/framework-bundle';
20+
}
21+
1722
protected static function getEnvs()
1823
{
1924
return array_merge(parent::getEnvs(), [

tests/Integrations/Symfony/V5_2/ConsoleCommandTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ public static function getConsoleScript()
1313
return __DIR__ . '/../../../Frameworks/Symfony/Version_5_2/bin/console';
1414
}
1515

16+
public static function getTestedLibrary()
17+
{
18+
return 'symfony/console';
19+
}
20+
1621
public function testScenario()
1722
{
1823
list($traces) = $this->inCli(self::getConsoleScript(), [

tests/Integrations/Symfony/V5_2/MessengerTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ public static function getConsoleScript()
2929
return __DIR__ . '/../../../Frameworks/Symfony/Version_5_2/bin/console';
3030
}
3131

32+
public static function getTestedLibrary()
33+
{
34+
return 'symfony/messenger';
35+
}
36+
3237
protected static function getEnvs()
3338
{
3439
return array_merge(parent::getEnvs(), [

tests/Integrations/Symfony/V6_2/CommonScenariosTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ public static function getAppIndexScript()
1414
return __DIR__ . '/../../../Frameworks/Symfony/Version_6_2/public/index.php';
1515
}
1616

17+
public static function getTestedLibrary()
18+
{
19+
return 'symfony/framework-bundle';
20+
}
21+
1722
protected static function getEnvs()
1823
{
1924
return array_merge(parent::getEnvs(), [

tests/Integrations/Symfony/V6_2/ConsoleCommandTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ public static function getConsoleScript()
1313
return __DIR__ . '/../../../Frameworks/Symfony/Version_6_2/bin/console';
1414
}
1515

16+
public static function getTestedLibrary()
17+
{
18+
return 'symfony/console';
19+
}
20+
1621
public function testScenario()
1722
{
1823
list($traces) = $this->inCli(static::getConsoleScript(), [

tests/Integrations/Symfony/V6_2/MessengerTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ public static function getConsoleScript()
2929
return __DIR__ . '/../../../Frameworks/Symfony/Version_6_2/bin/console';
3030
}
3131

32+
public static function getTestedLibrary()
33+
{
34+
return 'symfony/messenger';
35+
}
36+
3237
protected static function getEnvs()
3338
{
3439
return array_merge(parent::getEnvs(), [

0 commit comments

Comments
 (0)