Skip to content

Commit

Permalink
fix data provider name
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Jul 22, 2015
1 parent e45bd23 commit 76e4d79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/PSX/Data/WriterFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,14 @@ public function testContentNegotiation()
/**
* Check whether we serve known browsers with html
*
* @dataProvider contentNegotiationProvider
* @dataProvider browserAcceptHeaderProvider
*/
public function testBrowserCases($contentType, $className)
public function testBrowserAcceptHeaders($contentType, $className)
{
$this->assertInstanceOf($className, $this->writerFactory->getWriterByContentType($contentType));
}

public function acceptBrowserProvider()
public function browserAcceptHeaderProvider()
{
return [
['text/html, application/xhtml+xml, */*', 'PSX\Data\Writer\Html'], // IE Version 11.0
Expand Down

0 comments on commit 76e4d79

Please sign in to comment.