1
0
Fork 0

Remove test of undefined behaviour for unknown types in rulesets

pull/315/head
Nils Adermann 2012-02-18 13:09:19 +01:00
parent 7609f27052
commit 8aa0127de8
1 changed files with 0 additions and 11 deletions

View File

@ -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;