Browse Source

Remove test of undefined behaviour for unknown types in rulesets

Nils Adermann 13 years ago
parent
commit
8aa0127de8
1 changed files with 0 additions and 11 deletions
  1. 0 11
      tests/Composer/Test/DependencyResolver/RuleSetTest.php

+ 0 - 11
tests/Composer/Test/DependencyResolver/RuleSetTest.php

@@ -54,17 +54,6 @@ class RuleSetTest extends TestCase
         $ruleSet->add(new Rule(array(), 'job1', null), 7);
     }
 
-    public function testAddWhenTypeIsUnknow()
-    {
-        $ruleSet = new RuleSet;
-
-        $rule = new Rule(array(), 'job1', null);
-        $ruleSet->add($rule, -1);
-
-        $rules = $ruleSet->getRules();
-        $this->assertSame($rule, $rules[-1][0]);
-    }
-
     public function testCount()
     {
         $ruleSet = new RuleSet;