Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit 161aef7

Browse files
committed
Remove legacy tests
1 parent 826d8c4 commit 161aef7

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

test/BaseInputFilterTest.php

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -230,17 +230,6 @@ public function testAddRemove($input, $name, $expectedInputName)
230230
$this->assertCount($currentNumberOfFilters - 1, $inputFilter, 'Number of filters must be decreased by 1');
231231
}
232232

233-
public function testAddingInputsIncreasesCountOfFilter()
234-
{
235-
$filter = new InputFilter();
236-
$foo = new Input('foo');
237-
$filter->add($foo);
238-
$this->assertEquals(1, count($filter));
239-
$bar = new Input('bar');
240-
$filter->add($bar);
241-
$this->assertEquals(2, count($filter));
242-
}
243-
244233
public function testAddingInputWithNameDoesNotInjectNameInInput()
245234
{
246235
$inputFilter = $this->getInputFilter();
@@ -253,26 +242,6 @@ public function testAddingInputWithNameDoesNotInjectNameInInput()
253242
$this->assertEquals('foo', $foo->getName(), 'Input name should not change');
254243
}
255244

256-
public function testCanAddInputFilterAsInput()
257-
{
258-
$parent = new InputFilter();
259-
$child = new InputFilter();
260-
$parent->add($child, 'child');
261-
$this->assertEquals(1, count($parent));
262-
$this->assertSame($child, $parent->get('child'));
263-
}
264-
265-
public function testCanRemoveInputFilter()
266-
{
267-
$parent = new InputFilter();
268-
$child = new InputFilter();
269-
$parent->add($child, 'child');
270-
$this->assertEquals(1, count($parent));
271-
$this->assertSame($child, $parent->get('child'));
272-
$parent->remove('child');
273-
$this->assertEquals(0, count($parent));
274-
}
275-
276245
public function getInputFilter()
277246
{
278247
$filter = new InputFilter();

0 commit comments

Comments
 (0)