aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extension
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-01-24 22:39:37 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-01-24 22:39:37 +0100
commitfac4672f3f2def54fb65e325e77dea14cbc4aa6a (patch)
treed40397aa53bc5df171187071d9022428576930df /tests/extension
parenta60935b99db712f8eec7b9ef3b9a00ac0d9a3d51 (diff)
downloadforums-fac4672f3f2def54fb65e325e77dea14cbc4aa6a.tar
forums-fac4672f3f2def54fb65e325e77dea14cbc4aa6a.tar.gz
forums-fac4672f3f2def54fb65e325e77dea14cbc4aa6a.tar.bz2
forums-fac4672f3f2def54fb65e325e77dea14cbc4aa6a.tar.xz
forums-fac4672f3f2def54fb65e325e77dea14cbc4aa6a.zip
[ticket/13733] Remove validate_classes method argument
PHPBB3-13733
Diffstat (limited to 'tests/extension')
-rw-r--r--tests/extension/extension_base_test.php14
1 files changed, 2 insertions, 12 deletions
diff --git a/tests/extension/extension_base_test.php b/tests/extension/extension_base_test.php
index 71b03a40ac..775a23e198 100644
--- a/tests/extension/extension_base_test.php
+++ b/tests/extension/extension_base_test.php
@@ -64,16 +64,6 @@ class phpbb_extension_extension_base_test extends phpbb_test_case
return array(
array(
'vendor2/bar',
- false,
- array(
- '\vendor2\bar\migrations\bar',
- '\vendor2\bar\migrations\foo',
- '\vendor2\bar\migrations\migration',
- ),
- ),
- array(
- 'vendor2/bar',
- true,
array('\vendor2\bar\migrations\migration'),
),
);
@@ -82,10 +72,10 @@ class phpbb_extension_extension_base_test extends phpbb_test_case
/**
* @dataProvider data_test_suffix_get_classes
*/
- public function test_suffix_get_classes($extension_name, $validate_classes, $expected)
+ public function test_suffix_get_classes($extension_name, $expected)
{
$extension = $this->extension_manager->get_extension($extension_name);
- $migration_classes = self::$reflection_method_get_migration_file_list->invoke($extension, $validate_classes);
+ $migration_classes = self::$reflection_method_get_migration_file_list->invoke($extension);
sort($migration_classes);
$this->assertEquals($expected, $migration_classes);
}