Skip to content

Commit 7127e16

Browse files
Fixed-Additional addresses DataTable Pagination count displaying wrong
1 parent 6584286 commit 7127e16

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Customer/Test/Unit/Block/Address

1 file changed

+2
-2
lines changed

app/code/Magento/Customer/Test/Unit/Block/Address/GridTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ protected function setUp()
8181
public function testGetChildHtml()
8282
{
8383
$customerId = 1;
84-
84+
$outputString = 'OutputString';
8585
/** @var \Magento\Framework\View\Element\BlockInterface|\PHPUnit_Framework_MockObject_MockObject $block */
8686
$block = $this->getMockBuilder(\Magento\Framework\View\Element\BlockInterface::class)
8787
->setMethods(['setCollection'])
@@ -113,7 +113,7 @@ public function testGetChildHtml()
113113
$block->expects($this->atLeastOnce())->method('setCollection')->with($addressCollection)->willReturnSelf();
114114
$this->gridBlock->setNameInLayout('NameInLayout');
115115
$this->gridBlock->setLayout($layout);
116-
$this->assertEquals('OutputString', $this->gridBlock->getChildHtml('pager'));
116+
$this->assertEquals($outputString, $this->gridBlock->getChildHtml('pager'));
117117
}
118118

119119
/**

0 commit comments

Comments
 (0)