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

Commit b86f6e6

Browse files
committed
Remove redundant test
Covered by testSetDataAndGetRawValueGetValue IF* scenarios
1 parent c0f431d commit b86f6e6

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

test/InputFilterTest.php

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -43,33 +43,6 @@ public function testCanComposeAFactory()
4343
$this->assertSame($factory, $this->inputFilter->getFactory());
4444
}
4545

46-
/**
47-
* @covers \Zend\InputFilter\BaseInputFilter::getValue
48-
*
49-
* @group 6028
50-
*/
51-
public function testGetValueReturnsArrayIfNestedInputFilters()
52-
{
53-
$inputFilter = new InputFilter();
54-
$inputFilter->add(new Input(), 'name');
55-
56-
$this->inputFilter->add($inputFilter, 'people');
57-
58-
$data = [
59-
'people' => [
60-
'name' => 'Wanderson'
61-
]
62-
];
63-
64-
$this->inputFilter->setData($data);
65-
$this->assertTrue(
66-
$this->inputFilter->isValid(),
67-
'isValid() value not match. Detail . ' . json_encode($this->inputFilter->getMessages())
68-
);
69-
70-
$this->assertInternalType('array', $this->inputFilter->getValue('people'));
71-
}
72-
7346
public function inputProvider()
7447
{
7548
$dataSets = parent::inputProvider();

0 commit comments

Comments
 (0)