Skip to content

Commit

Permalink
#761 #762 s/$field/$fieldName
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Jan 13, 2017
1 parent 459c75d commit a1bdf87
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/Doctrine/Tests/Common/Proxy/ProxyLogicTypehintsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,15 @@ public function setUpProxy()

/**
* @dataProvider dataNoLazyLoadingForIdentifier
* @param string $field
*
* @param string $fieldName
*/
public function testNoLazyLoadingForIdentifier($field)
public function testNoLazyLoadingForIdentifier($fieldName)
{
$this->configureInitializerMock(0);
$getter = 'get' . ucfirst($field);
$getter = 'get' . ucfirst($fieldName);

$this->assertSame($this->identifier[$field], $this->lazyObject->$getter());
$this->assertSame($this->identifier[$fieldName], $this->lazyObject->$getter());
}

/**
Expand Down

0 comments on commit a1bdf87

Please sign in to comment.