X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=vendor%2Fdrush%2Fdrush%2Ftests%2FexpandWildcardTablesUnitTest.php;fp=vendor%2Fdrush%2Fdrush%2Ftests%2FexpandWildcardTablesUnitTest.php;h=0000000000000000000000000000000000000000;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hp=3cbaf90384fb5f0a2ffd5e6cd26d300e68b025cc;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0;p=yaffs-website diff --git a/vendor/drush/drush/tests/expandWildcardTablesUnitTest.php b/vendor/drush/drush/tests/expandWildcardTablesUnitTest.php deleted file mode 100644 index 3cbaf9038..000000000 --- a/vendor/drush/drush/tests/expandWildcardTablesUnitTest.php +++ /dev/null @@ -1,80 +0,0 @@ -assertEquals($db_tables, $expanded_db_tables); - } - - /** - * Tests drush_sql_filter_tables(). - * - * @see drush_sql_filter_tables(). - */ - public function testFilterTables() { - // Array of tables to search for. - $wildcard_input = array( - 'cache', - 'cache_*', - ); - // Mock array of tables to test with. - $db_tables = array( - 'cache', - 'cache_bootstrap', - 'cache_field', - 'cache_filter', - 'cache_form', - 'cache_menu', - 'cache_page', - 'cache_path', - 'cache_update', - ); - $expected_result = array( - 'cache', - ); - - $actual_result = drush_sql_filter_tables($wildcard_input, $db_tables); - $this->assertEquals($expected_result, $actual_result); - } -}