Skip to content

Commit 906f2af

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

25 files changed

+155
-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/Slim/V3_12/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/Slim/Version_3_12/public/index.php';
1515
}
1616

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

tests/Integrations/Symfony/V2_3/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/Symfony/Version_2_3/web/app.php';
1515
}
1616

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

tests/Integrations/Symfony/V2_8/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/Symfony/Version_2_8/web/app.php';
1515
}
1616

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

0 commit comments

Comments
 (0)