Skip to content

Commit b880f57

Browse files
author
Mark Hodge
committed
Update Unit Test File to use integer value
1 parent 1242fbd commit b880f57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/Mview/Test/Unit/View/ChangelogTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,10 @@ public function testGetList()
215215
$this->connectionMock->expects($this->once())
216216
->method('fetchCol')
217217
->with($selectMock)
218-
->will($this->returnValue(['some_data']));
218+
->will($this->returnValue([1]));
219219

220220
$this->model->setViewId('viewIdtest');
221-
$this->assertEquals(['some_data'], $this->model->getList(1, 2));
221+
$this->assertEquals([1], $this->model->getList(1, 2));
222222
}
223223

224224
public function testGetListWithException()

0 commit comments

Comments
 (0)