Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Sep 7, 2018
1 parent 1af5b08 commit 81c429c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/Runner/Filter/NameFilterIteratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@ class NameFilterIteratorTest extends TestCase
{
public function testCaseSensitiveMatch()
{
$iterator = $this->getTestSuiteItteratorMock();
$iterator = $this->getTestSuiteIteratorMock();
$filter = new NameFilterIterator($iterator, 'Success');
$this->assertTrue((bool) $filter->accept());
}

public function testCaseInsensitiveMatch()
{
$iterator = $this->getTestSuiteItteratorMock();
$iterator = $this->getTestSuiteIteratorMock();
$filter = new NameFilterIterator($iterator, 'success');
$this->assertTrue((bool) $filter->accept());
}

/**
* @return \PHPUnit\Framework\TestSuiteIterator
*/
private function getTestSuiteItteratorMock()
private function getTestSuiteIteratorMock()
{
$success = new \Success();
$iterator = $this->createMock(\PHPUnit\Framework\TestSuiteIterator::class);
Expand Down

0 comments on commit 81c429c

Please sign in to comment.