Skip to content

Commit

Permalink
Fix integration test
Browse files Browse the repository at this point in the history
Changed test method to fit the new implementation of the class method
  • Loading branch information
Magently committed Sep 4, 2018
1 parent e9451e0 commit 29680f7
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,11 @@ public function addFieldToSelectDataProvider()
/**
* @dataProvider addExpressionFieldToSelectDataProvider
*/
public function testAddExpressionFieldToSelect($alias, $expression, $fields, $expected)
public function testAddExpressionFieldToSelect($alias, $expression, $fields, $expectedFieldsToSelect)
{
$this->selectMock->expects($this->once())->method('columns')->with($expected);
$this->assertTrue($this->uut->addExpressionFieldToSelect($alias, $expression, $fields) instanceof Uut);
$this->assertEquals($expectedFieldsToSelect, $this->uut->getFieldsToSelect());
$this->assertTrue($this->uut->wereFieldsToSelectChanged());
}

/**
Expand Down

0 comments on commit 29680f7

Please sign in to comment.