From c02412fa8d27b12146b62aa8defecce0b69c5e89 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 7 Oct 2013 14:17:13 +0000 Subject: [PATCH] Remove tests for code still in development, see #22229. If accidentally run, they produce fatal errors. props pauldewouters, no_fear_inc. git-svn-id: https://develop.svn.wordpress.org/trunk@25711 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/dependencies.php | 37 ---------------------------- 1 file changed, 37 deletions(-) diff --git a/tests/phpunit/tests/dependencies.php b/tests/phpunit/tests/dependencies.php index 105a6dbffa..5f9f579acb 100644 --- a/tests/phpunit/tests/dependencies.php +++ b/tests/phpunit/tests/dependencies.php @@ -136,41 +136,4 @@ class Tests_Dependencies extends WP_UnitTestCase { $this->assertFalse( $dep->query( 'one' ) ); } - - /** - * @ticket 22229 - */ - function test_add_deps_should_add_one_string_dep() { - $dep = new WP_Dependencies; - $dep->add( 'baba', '', array( 'dep0' ) ); - $dep->add_deps( 'baba', 'new-dep' ); - $this->assertEquals( array( 'dep0', 'new-dep' ), $dep->query( 'baba' )->deps ); - } - - /** - * @ticket 22229 - */ - function test_add_deps_should_merge_deps() { - $dep = new WP_Dependencies; - $dep->add( 'baba', '', array( 'dep0' ) ); - $dep->add_deps( 'baba', array( 'new-dep', 'another-dep' ) ); - $this->assertEquals( array( 'dep0', 'new-dep', 'another-dep' ), $dep->query( 'baba' )->deps ); - } - - /** - * @ticket 22229 - */ - function test_add_deps_should_return_false_on_non_string_non_array_deps() { - $dep = new WP_Dependencies; - $dep->add( 'baba', '', array( 'dep0' ) ); - $this->assertFalse( $dep->add_deps( 'baba', 5 ) ); - } - - /** - * @ticket 22229 - */ - function test_add_deps_should_return_false_on_non_registered_handle() { - $dep = new WP_Dependencies; - $this->assertFalse( $dep->add_deps( 'baba', 'dep0' ) ); - } }